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 995be32 commit 0872afa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
env:
REGISTRY: //gitlab.com/api/v4/projects/37663507/packages/npm/
- run: |
# set version from timestamp if current branch is main
if [ "${{ github.ref }}" = "main" ] || [ "${{ github.ref }}" = "release" ]; then
if [ ${{ github.ref }} = "main" ] || [ ${{ github.ref }} = "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 0872afa

Please sign in to comment.