Skip to content

Commit

Permalink
fix(ci): set up correct regex that replaces the 'v' prefixes for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
paambaati authored May 8, 2023
1 parent a16dca5 commit b3bcc0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
script: |
const semver = require('semver');
const lastRelease = process.env.LAST_RELEASE.replace(/^,/, '');
const newRelease = process.env.NEW_RELEASE.replace(/^,/, '');
const lastRelease = process.env.LAST_RELEASE.replace(/^v/, '');
const newRelease = process.env.NEW_RELEASE.replace(/^v/, '');
return semver.gt(newRelease, lastRelease);
result-encoding: string

Expand Down

0 comments on commit b3bcc0e

Please sign in to comment.