mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-06 22:53:46 +00:00
Replace order of the releases so the v1 is always second,
allowing users to pull the latest version of the binary from the "latest" link.
This commit is contained in:
@@ -189,21 +189,21 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
files: dist/semver-gen-*
|
||||
tag_name: ${{ needs.prepare.outputs.RELEASE_VERSION }}
|
||||
name: ${{ needs.prepare.outputs.RELEASE_VERSION }}
|
||||
tag_name: v1
|
||||
name: v1
|
||||
body_path: .release_notes
|
||||
draft: false
|
||||
prerelease: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main' }}
|
||||
- name: Create Release v1
|
||||
id: create_release_v1
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
files: dist/semver-gen-*
|
||||
tag_name: v1
|
||||
name: v1
|
||||
tag_name: ${{ needs.prepare.outputs.RELEASE_VERSION }}
|
||||
name: ${{ needs.prepare.outputs.RELEASE_VERSION }}
|
||||
body_path: .release_notes
|
||||
draft: false
|
||||
prerelease: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main' }}
|
||||
prerelease: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main' }}
|
||||
Reference in New Issue
Block a user