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
|
||||
|
||||
- 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
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -118,6 +108,18 @@ jobs:
|
|||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git tag -a "${{ steps.extract_version.outputs.version }}" -m "v${{ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue