mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-07-05 03:54: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 }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
files: dist/semver-gen-*
|
files: dist/semver-gen-*
|
||||||
tag_name: ${{ needs.prepare.outputs.RELEASE_VERSION }}
|
tag_name: v1
|
||||||
name: ${{ needs.prepare.outputs.RELEASE_VERSION }}
|
name: v1
|
||||||
body_path: .release_notes
|
body_path: .release_notes
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main' }}
|
prerelease: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main' }}
|
||||||
- name: Create Release v1
|
- name: Create Release
|
||||||
id: create_release_v1
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
files: dist/semver-gen-*
|
files: dist/semver-gen-*
|
||||||
tag_name: v1
|
tag_name: ${{ needs.prepare.outputs.RELEASE_VERSION }}
|
||||||
name: v1
|
name: ${{ needs.prepare.outputs.RELEASE_VERSION }}
|
||||||
body_path: .release_notes
|
body_path: .release_notes
|
||||||
draft: false
|
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