]> Nishi Git Mirror - dataworks.git/commitdiff
just release as version
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Tue, 18 Jun 2024 02:16:07 +0000 (02:16 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Tue, 18 Jun 2024 02:16:07 +0000 (02:16 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@328 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

.github/workflows/build.yml

index aae2014c0b2d1b8bfd4cd5143818a6432b345403..2ea62f9f55dfa71d1409e3648973f352baddc1ea 100644 (file)
@@ -233,7 +233,9 @@ jobs:
       run: unzip $GITHUB_WORKSPACE/build-macos.zip
     - name: Rename dataworks.deb
       run: mv dataworks.deb dataworks-amd64-ubuntu.deb
+    - name: Delete old release
+      run: gh release delete "$(make get-version)" --cleanup-tag -y || true
     - name: Release
-      run: gh release create -t "Release $(date +"%a %b %e %H:%M:%S %Z %Y")" "$(date +%Y%m%d%H%M%S)" dataworks-linux64.{tar.gz,zip} dataworks-win32.{tar.gz,zip} dataworks-dos4g.{tar.gz,zip} dataworks-dos.{tar.gz,zip} dataworks-win64.{tar.gz,zip} dataworks-macos-arm64.{tar.gz,zip} dataworks-server-win32.exe dataworks-server-win64.exe dataworks-server-dos.exe dataworks-server-dos4g.exe dataworks-win32.exe dataworks-win64.exe dataworks-dos.exe dataworks-dos4g.exe dataworks-linux64 dataworks-server-linux64 dataworks-macos-arm64 dataworks-server-macos-arm64 install.img dataworks-amd64-ubuntu.deb -n "Version \`$(make get-version)\` was built in this release"
+      run: gh release create -t "$(make get-version)" "$(make get-version)" dataworks-linux64.{tar.gz,zip} dataworks-win32.{tar.gz,zip} dataworks-dos4g.{tar.gz,zip} dataworks-dos.{tar.gz,zip} dataworks-win64.{tar.gz,zip} dataworks-macos-arm64.{tar.gz,zip} dataworks-server-win32.exe dataworks-server-win64.exe dataworks-server-dos.exe dataworks-server-dos4g.exe dataworks-win32.exe dataworks-win64.exe dataworks-dos.exe dataworks-dos4g.exe dataworks-linux64 dataworks-server-linux64 dataworks-macos-arm64 dataworks-server-macos-arm64 install.img dataworks-amd64-ubuntu.deb -n "Version \`$(make get-version)\` was built in this release"
       env:
         GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}