Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
kentsday committed Jul 29, 2024
1 parent 0872afa commit acdee5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
env:
REGISTRY: //gitlab.com/api/v4/projects/37663507/packages/npm/
- run: |
if [ ${{ github.ref }} = "main" ] || [ ${{ github.ref }} = "release" ]; then
if [ ${{ github.ref }} = "refs/heads/main" ] || [ ${{ github.ref }} = "refs/heads/release" ]; then
Version=1.0.0-alpha.$(date +"%Y%m%d%H%M%S")
else
Version=$(git describe --tags --abbrev=0)
Expand Down

0 comments on commit acdee5e

Please sign in to comment.