File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -174,3 +174,37 @@ jobs:
174174 with :
175175 name : ${{ matrix.qt_arch }}-qt-${{ matrix.qt_version }}
176176 path : ${{ matrix.artifact_path }}
177+
178+ create_release :
179+ name : Create Release
180+ runs-on : ubuntu-latest
181+ needs : [ubuntu, macos, windows]
182+ if : startsWith(github.ref, 'refs/tags/')
183+
184+ steps :
185+ - name : Checkout repository
186+ uses : actions/checkout@v4
187+
188+ - name : Create source archive
189+ run : ./create-source-archive.sh ${{ github.ref_name }}
190+
191+ - name : Download all artifacts
192+ uses : actions/download-artifact@v4
193+ with :
194+ path : ./artifacts
195+
196+ - name : Rename artifacts
197+ run : |
198+ for file in ./artifacts/*; do
199+ mv "$file" "./artifacts/qaseprite-${{ github.ref_name }}-$(basename "$file")"
200+ done
201+
202+ - name : Create GitHub Release
203+ uses : softprops/action-gh-release@v2
204+ with :
205+ name : qaseprite ${{ github.ref_name }}
206+ files : |
207+ qaseprite-${{ github.ref_name }}-source.tar.gz
208+ artifacts/*
209+ env :
210+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ git ls-files --recurse-submodules -z \
3434 -e ' ^aseprite/laf/third_party/googletest/' \
3535 -e ' ^aseprite/third_party/harfbuzz/test/' \
3636 -e ' ^aseprite/third_party/libpng/contrib/' \
37- | tar caf qaseprite-${VERSION} .tar.gz --xform s:^:qaseprite-${VERSION} /: --null -T-
37+ | tar caf qaseprite-${VERSION} -source .tar.gz --xform s:^:qaseprite-${VERSION} /: --null -T-
You can’t perform that action at this time.
0 commit comments