Skip to content

Commit

Permalink
chore: update publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackfaded committed Sep 3, 2024
1 parent 4df8f8e commit 432a9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ publish() {
fi
echo "Uploading the package..."
# Set the environment variable for RubyGems
GEM_HOST_API_KEY=$2
export GEM_HOST_API_KEY=$2
VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')
GEM_NAME=pcp-server-ruby-sdk-$VERSION.gem
# Push the gem to RubyGems
gem push $GEM_NAME --key $GEM_HOST_API_KEY
gem push $GEM_NAME
echo "Upload complete."
}

Expand Down

0 comments on commit 432a9c2

Please sign in to comment.