mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix release action to use major.minor instead of vMajor.minor.patch
This commit is contained in:
parent
b45069137c
commit
997cc054d4
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -13,7 +13,11 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set correct versions
|
||||
run: sed "s/edge/${{ github.ref_name }}/" -i docker-compose.yml
|
||||
run: |
|
||||
VERSION=${{ github.ref_name }}
|
||||
VERSION=${VERSION:1} # Remove v prefix
|
||||
VERSION=${VERSION%.*} # Remove minor version
|
||||
sed "s/edge/$VERSION/" -i docker-compose.yml
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user