mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Use tag for release
This commit is contained in:
parent
723f63d3b2
commit
10f7862d99
1 changed files with 12 additions and 10 deletions
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
|
@ -97,16 +97,6 @@ jobs:
|
||||||
}
|
}
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Create GitHub Release
|
|
||||||
uses: softprops/action-gh-release@v2
|
|
||||||
with:
|
|
||||||
name: "Greenshot v${{ steps.extract_version.outputs.version }} unstable"
|
|
||||||
files: drop/*.exe
|
|
||||||
draft: true
|
|
||||||
prerelease: true
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
@ -119,6 +109,18 @@ jobs:
|
||||||
git tag -a "${{ steps.extract_version.outputs.version }}" -m "v${{ steps.extract_version.outputs.version }}"
|
git tag -a "${{ steps.extract_version.outputs.version }}" -m "v${{ steps.extract_version.outputs.version }}"
|
||||||
git push origin "${{ steps.extract_version.outputs.version }}"
|
git push origin "${{ steps.extract_version.outputs.version }}"
|
||||||
|
|
||||||
|
- name: Create GitHub Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
name: "Greenshot v${{ steps.extract_version.outputs.version }} unstable"
|
||||||
|
tag_name: "v${{ steps.extract_version.outputs.version }}"
|
||||||
|
files: drop/*.exe
|
||||||
|
draft: true
|
||||||
|
prerelease: true
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# TODOs
|
# TODOs
|
||||||
# [ ] code signing (setup.iss / innosetup)
|
# [ ] code signing (setup.iss / innosetup)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue