Skip to content

Commit

Permalink
update .git_archival.txt in git-archive-all output
Browse files Browse the repository at this point in the history
  • Loading branch information
jornbr committed Oct 26, 2023
1 parent 1e0d2b1 commit 8837271
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
git archive -o simple-archive.zip "$tag" .git_archival.txt
unzip -o simple-archive.zip
rm simple-archive.zip
git-archive-all --prefix=${GITHUB_REPOSITORY#*/}-${tag#v} ${GITHUB_REPOSITORY#*/}.tar.gz
git-archive-all --prefix=${GITHUB_REPOSITORY#*/}-${tag#v} ${GITHUB_REPOSITORY#*/}.zip
gh release upload "$tag" ${GITHUB_REPOSITORY#*/}.tar.gz#"Source code including submodules (tar.gz)"
Expand Down

0 comments on commit 8837271

Please sign in to comment.