Skip to content

Commit

Permalink
feat(ci): semver dev tags
Browse files Browse the repository at this point in the history
Fixes #6
  • Loading branch information
Cubxity committed May 8, 2023
1 parent 58d39e3 commit 1046f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: v__VERSION__-${{ github.sha }} # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "Development Build v__VERSION__"
tagName: v__VERSION__-dev.${{ github.run_number }} # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "Development Build v__VERSION__-dev.${{ github.run_number }}"
releaseBody: "This is a development release from the master branch (Commit ${{ github.sha }})."
releaseDraft: false
prerelease: true

1 comment on commit 1046f26

@alerque
Copy link

@alerque alerque commented on 1046f26 May 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using a pre-release denotion systax like -dev.x is okay per semver as long as you don't plan on ever using -alpha.x or -beta.x because these segments have no special meaning and will be sorted alphabetically. Just FYI. See §9 and §11.4.2 in the semver spec.

Please sign in to comment.