Skip to content

Commit

Permalink
CI: create versioned directory name of extracted tarball (#4659)
Browse files Browse the repository at this point in the history
Extracting the tarball will with this create a containing directory named
'grass-x.y.z', where x, y, z stands for major, minor, micro/patch version.
  • Loading branch information
nilason authored Nov 7, 2024
1 parent 410cf5c commit 53c28f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/create_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ jobs:
run: |
cd ..
tar -cvf ${{ env.OUT_DIR }}/${{ env.GRASS }}.tar \
--exclude=".gi*" --exclude=".tr*" grass
--exclude=".gi*" --exclude=".tr*" \
--transform s/grass/${{ env.GRASS }}/ grass
cd ${{ env.OUT_DIR }}
gzip -9k ${{ env.GRASS }}.tar
md5sum ${{ env.GRASS }}.tar.gz > ${{ env.GRASS }}.tar.gz.md5
Expand Down

0 comments on commit 53c28f3

Please sign in to comment.