Skip to content

Commit

Permalink
semver echo test
Browse files Browse the repository at this point in the history
  • Loading branch information
pierregee committed Aug 28, 2023
1 parent 9ef3e7a commit 0143143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-semver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
with:
script: |
const semver = context.payload.release.tag_name;
echo "The value is ${{ context.ref.replace }}"
echo "The value is ${{ context.payload.release }}"
echo "The value is ${{ context.ref }}"
echo "The value is ${{ context.payload }}"
if (semver.match(/^v[0-9]+\.[0-9]+\.[0-9]+$/) === null) {
throw new Error(
`Release Violation: Provided version '${semver}' is not valid semver.`
Expand Down

0 comments on commit 0143143

Please sign in to comment.