From 1d2eb58dee74db36157cd27f4963ea1d7fad99be Mon Sep 17 00:00:00 2001 From: nishi Date: Sun, 9 Jun 2024 14:19:06 +0000 Subject: [PATCH] make get-version quiet git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@216 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- .github/workflows/build.yml | 8 ++++---- common.mk | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 975b023..89b593a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} diff --git a/common.mk b/common.mk index ffd64b9..207b506 100644 --- 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\$$" > $@ -- 2.43.0