Fix release action to use major.minor instead of vMajor.minor.patch

This commit is contained in:
Zoe Roux 2024-05-01 21:27:16 +02:00
parent b45069137c
commit 997cc054d4
No known key found for this signature in database

View File

@ -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: