We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853d140 commit b67d4b3Copy full SHA for b67d4b3
.github/workflows/prepare-release.yaml
@@ -18,8 +18,21 @@ jobs:
18
run: |
19
printf '\n-----\n\n' >> release_notes.txt
20
awk -f .github/workflows/changelog.awk CHANGELOG.md >> release_notes.txt
21
+ - name: Create archive
22
+ id: archive
23
+ run: |
24
+ TAG="${GITHUB_REF_NAME}"
25
+ REPOSITORY_NAME="${GITHUB_REPOSITORY#*/}"
26
+ PREFIX="${REPOSITORY_NAME}-${TAG:1}"
27
+ ARCHIVE="${PREFIX}.tar.gz"
28
+
29
+ echo "tgz=${ARCHIVE}" >> $GITHUB_OUTPUT
30
31
+ git archive --format=tar.gz --prefix="${PREFIX}/" -o "$ARCHIVE" "${TAG}"
32
- name: Release
33
uses: softprops/action-gh-release@v1
34
with:
35
draft: true
36
body_path: release_notes.txt
37
+ fail_on_unmatched_files: true
38
+ files: ${{ steps.archive.outputs.tgz }}
0 commit comments