Skip to content

Commit

Permalink
Update publish-gem.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-descope committed Apr 17, 2024
1 parent e14e740 commit 984a906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-gem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
NEW_VERSION=$(echo ${{ github.event.release.tag_name }} | sed 's/^v//') # strip the 'v' from the tag if present
echo "New version: ${NEW_VERSION}"
sed -i -r "s/VERSION = \".+\"/^VERSION = \"${NEW_VERSION}\"/" ./lib/descope/version.rb
sed -i -r "s/(VERSION = \").+(\")/\\1${NEW_VERSION}\\2/" ./lib/descope/version.rb
cat ./lib/descope/version.rb
git status
Expand Down

0 comments on commit 984a906

Please sign in to comment.