]> Nishi Git Mirror - dataworks.git/commitdiff
make get-version quiet
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sun, 9 Jun 2024 14:19:06 +0000 (14:19 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Sun, 9 Jun 2024 14:19:06 +0000 (14:19 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@216 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

.github/workflows/build.yml
common.mk

index 975b02309dbfaf6ddfedb359c70cc69a898e64e2..89b593aed9e9b98866076134b40ffd647938b933 100644 (file)
@@ -27,20 +27,20 @@ jobs:
     - name: make for linux64
       run: make YACC=byacc -j3 archive
     - name: rename to -linux64
-      run: mv dataworks.tar.gz dataworks-linux64.tar.gz
+      run: mv dataworks.zip dataworks-linux64.zip && mv dataworks.tar.gz dataworks-linux64.tar.gz
     - name: make sure it is clean (win32)
       run: make clean
     - name: make for win32
       run: make YACC=byacc PLATFORM=win32 -j3 archive
     - name: rename to -win32
-      run: mv dataworks.tar.gz dataworks-win32.tar.gz
+      run: mv dataworks.zip dataworks-win32.zip && mv dataworks.tar.gz dataworks-win32.tar.gz
     - name: make sure it is clean (win64)
       run: make clean
     - name: make for win64
       run: make YACC=byacc PLATFORM=win64 -j3 archive
     - name: rename to -win64
-      run: mv dataworks.tar.gz dataworks-win64.tar.gz
+      run: mv dataworks.zip dataworks-win64.zip && mv dataworks.tar.gz dataworks-win64.tar.gz
     - 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 dataworks-win32.tar.gz dataworks-win64.tar.gz --generate-notes
+      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-win64.{tar.gz,zip} -n "Version \`$(make get-version)\` was built in this release"
       env:
         GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
index ffd64b98b8db36fb709784a44fd00355d1120d30..207b5064c0e600010c174300f22b394966ff7f71 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -117,7 +117,7 @@ cleanup-dosbox:
        rm -f op.txt dosbox.conf DW.* DWSERV.* dw.* dwserv.* dosbox.core
 
 get-version:
-       echo $(VERSION)
+       @echo $(VERSION)
 
 ./PKGBUILD:
        echo "# \$$Id\$$" > $@