Skip to content

Commit 2e499a1

Browse files
committed
DEBUG: Test create tarball with changes done below
1 parent 9b3f67d commit 2e499a1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/create_release_draft.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,19 @@ jobs:
5959
git add core_modules_with_last_commit.json
6060
git diff --cached > \
6161
"${OUT_DIR}/core_modules_with_last_commit.patch"
62+
- name: Test create tarballs
63+
run: |
64+
cd ..
65+
tar -cvf "${OUT_DIR}/${GRASS}.tar" \
66+
--exclude=".gi*" --exclude=".tr*" \
67+
--transform s/grass/"${GRASS}"/ grass
68+
cd "${OUT_DIR}" || exit
69+
gzip -9k "${GRASS}.tar"
70+
md5sum "${GRASS}.tar.gz" > "${GRASS}.tar.gz.md5"
71+
sha256sum "${GRASS}.tar.gz" > "${GRASS}.tar.gz.sha256"
72+
xz -9e "${GRASS}.tar"
73+
md5sum "${GRASS}.tar.xz" > "${GRASS}.tar.xz.md5"
74+
sha256sum "${GRASS}.tar.xz" > "${GRASS}.tar.xz.sha256"
6275
- name: Create tarballs (for tags only)
6376
if: startsWith(github.ref, 'refs/tags/')
6477
run: |

0 commit comments

Comments
 (0)