diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5a4025d..b451c39b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: