Skip to content

Commit

Permalink
ci: change dev version format
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Sep 24, 2023
1 parent ece5aa8 commit e40c845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: Set Dev version
if: github.ref == 'refs/heads/main'
run: echo "VERSION=$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/')" >> $GITHUB_ENV
run: echo "VERSION=$(git describe --long --tags | sed 's/^v//;0,/-/s//./')" >> $GITHUB_ENV

- name: Set Release version
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit e40c845

Please sign in to comment.