Skip to content

Commit ec63ddb

Browse files
committed
keep just latest release
1 parent 7a5c733 commit ec63ddb

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,17 @@ jobs:
4040
uses: softprops/action-gh-release@v1
4141
with:
4242
files: target/release/opacity-cli-linux-amd64
43-
tag_name: v${{ github.run_number }}
44-
name: Release v${{ github.run_number }}
43+
tag_name: latest
44+
name: Latest Release
4545
body: |
46-
Automated release for commit ${{ github.sha }}
46+
Latest build of opacity-cli for x86_64 Linux
4747
48-
## Changes
49-
- Built opacity-cli for x86_64 Linux
50-
- Release number: ${{ github.run_number }}
48+
## Build Info
49+
- Commit: ${{ github.sha }}
50+
- Branch: ${{ github.ref_name }}
51+
- Build Date: ${{ github.event.head_commit.timestamp }}
5152
draft: false
5253
prerelease: false
54+
update_existing: true
5355
env:
5456
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)