.github/workflows/release: fix artefact name
After the upstream tag template changed, packit is now looking for the artefact matching the template, so without the "v".
This commit is contained in:
parent
7f54147a64
commit
4d9a1f294f
1 changed files with 2 additions and 3 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
|
@ -25,8 +25,6 @@ jobs:
|
||||||
- name: Make dist
|
- name: Make dist
|
||||||
run: |
|
run: |
|
||||||
make dist
|
make dist
|
||||||
RELEASE_NO=$(echo ${{github.ref_name}} | tr -d 'v')
|
|
||||||
mv "cockpit-image-builder-$RELEASE_NO.tar.gz" ../cockpit-image-builder-${{github.ref_name}}.tar.gz
|
|
||||||
|
|
||||||
# create release, which will bump the version
|
# create release, which will bump the version
|
||||||
- name: Upstream release
|
- name: Upstream release
|
||||||
|
|
@ -42,5 +40,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
RELEASE_NO=$(echo ${{github.ref_name}} | tr -d 'v')
|
||||||
gh release upload ${{github.ref_name}} \
|
gh release upload ${{github.ref_name}} \
|
||||||
../cockpit-image-builder-${{github.ref_name}}.tar.gz
|
../cockpit-image-builder-$RELEASE_NO.tar.gz
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue