Skip to content

Commit a73e752

Browse files
committed
chore: only publish binaries on new tag
1 parent 15cb320 commit a73e752

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/CD.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Deploy tag
1+
name: Deploy
22

33
on:
44
push:
5-
branches:
6-
- main
5+
tags:
6+
- "*"
77

88
jobs:
99
binary:
@@ -38,5 +38,5 @@ jobs:
3838
with:
3939
repo_token: ${{ secrets.GITHUB_TOKEN }}
4040
file: target/tar/bombadil.tar.gz
41-
tag: 4.1.0
41+
tag: ${{ github.ref }}
4242
asset_name: bombadil-${{needs.release.outputs.version}}-${{ matrix.target }}.tar.gz

0 commit comments

Comments
 (0)