File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,6 +144,8 @@ jobs:
144144 steps :
145145 - name : Checkout Repository
146146 uses : actions/checkout@v6
147+ with :
148+ submodules : true
147149
148150 - name : Create Draft Release
149151 run : |
@@ -164,7 +166,6 @@ jobs:
164166 cd ..
165167 gh release upload ${{ github.ref_name }} NotepadNext-${{ github.ref_name }}-win64.zip
166168
167-
168169 - name : Upload Linux AppImage
169170 run : |
170171 gh release upload ${{ github.ref_name }} NotepadNext-Linux-Qt$QT_RELEASE_VER-AppImage/NotepadNext-${{ github.ref_name }}-x86_64.AppImage
@@ -173,3 +174,12 @@ jobs:
173174 run : |
174175 gh release upload ${{ github.ref_name }} NotepadNext-macOS-Qt$QT_RELEASE_VER/NotepadNext-${{ github.ref_name }}.dmg
175176
177+ - name : Create Source Tarball
178+ run : |
179+ export PACKAGE_NAME=NotepadNext-${{ github.ref_name }}
180+ export RELEASE_TARBALL=${PACKAGE_NAME}.tar.gz
181+ git ls-files --recurse-submodules | tar caf ${RELEASE_TARBALL} --xform s:^:${PACKAGE_NAME}/: --verbatim-files-from -T-
182+
183+ - name : Upload Source Tarball
184+ run : |
185+ gh release upload ${{ github.ref_name }} NotepadNext-${{ github.ref_name }}.tar.gz
You can’t perform that action at this time.
0 commit comments