Skip to content

Commit

Permalink
Merge pull request #66 from abes-esr/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
SamuelQuetin authored Feb 14, 2023
2 parents 4d7fdf5 + cf23284 commit 5c2a4c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
SNAPSHOT: ${{ github.event.inputs.snapshotVersion }}
run: |
echo $NEW_TAG | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$'
echo $NEW_TAG_SNAPSHOT | grep -E '^[0-9]+\.[0-9]+\.[0-9]+-SNAPSHOT$'
echo $SNAPSHOT | grep -E '^[0-9]+\.[0-9]+\.[0-9]+-SNAPSHOT$'
- name: 'Verify version is not already used as a git tag'
env:
NEW_TAG: ${{ github.event.inputs.releaseVersion }}
Expand Down Expand Up @@ -69,6 +69,8 @@ jobs:
git merge main -m "Merge main to develop [skip ci]"
npm version $SNAPSHOT
sed -i "s#Version: [0-9]+\.[0-9]+\.[0-9]+#Version: $SNAPSHOT#g" README.md
git add .
git commit -m "Version $SNAPSHOT [skip ci]"
git push
- name: 'Create the github release'
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 5c2a4c6

Please sign in to comment.