From 078f180d6d64613a99d9ceff192ff6530ee754c2 Mon Sep 17 00:00:00 2001 From: CFC4N Date: Sat, 5 Nov 2022 21:37:05 +0800 Subject: [PATCH] release v0.4.8 (latest) Signed-off-by: CFC4N --- .github/workflows/release.yml | 2 +- builder/Makefile.release | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 34d01d29a..8c9e5c7c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,7 +87,7 @@ jobs: - name: Write File uses: DamianReeves/write-file-action@v1.0 with: - path: ./release_notes.txt + path: ./bin/release_notes.txt contents: | ${{ steps.github_release.outputs.changelog }} write-mode: append diff --git a/builder/Makefile.release b/builder/Makefile.release index e62b0c2f5..f3908ddad 100644 --- a/builder/Makefile.release +++ b/builder/Makefile.release @@ -154,7 +154,7 @@ snapshot: \ $(CMD_CP) README.md $(TAR_DIR)/README.md $(CMD_CP) README_CN.md $(TAR_DIR)/README_CN.md $(CMD_MV) $(OUTPUT_DIR)/ecapture $(TAR_DIR)/ecapture - $(CMD_CP) release_notes.txt $(OUTPUT_DIR)/release_notes.txt + $(CMD_CP) $(RELEASE_NOTES) $(OUTPUT_DIR)/release_notes.txt $(CMD_TAR) -czf $(OUT_ARCHIVE) $(TAR_DIR) cd $(OUTPUT_DIR) $(CMD_CHECKSUM) $(TAR_DIR).tar.gz > ./../$(OUT_CHECKSUMS) @@ -178,7 +178,7 @@ snapshot_android: \ $(CMD_CP) README.md $(TAR_DIR_ANDROID)/README.md $(CMD_CP) README_CN.md $(TAR_DIR_ANDROID)/README_CN.md $(CMD_MV) $(OUTPUT_DIR)/ecapture $(TAR_DIR_ANDROID)/ecapture - $(CMD_CP) release_notes.txt $(TAR_DIR_ANDROID)/release_notes.txt + $(CMD_CP) $(RELEASE_NOTES) $(TAR_DIR_ANDROID)/release_notes.txt $(CMD_TAR) -czf $(OUT_ARCHIVE_ANDROID) $(TAR_DIR_ANDROID) cd $(OUTPUT_DIR) $(CMD_CHECKSUM) $(TAR_DIR_ANDROID).tar.gz >> ./../$(OUT_CHECKSUMS) @@ -194,7 +194,7 @@ publish: \ .check_$(CMD_GITHUB) # # release it! - $(CMD_GITHUB) release create $(SNAPSHOT_VERSION) $(OUT_ARCHIVE) $(OUT_ARCHIVE_ANDROID) $(OUT_CHECKSUMS) --title "eCapture $(SNAPSHOT_VERSION)" --notes-file release_notes.txt + $(CMD_GITHUB) release create $(SNAPSHOT_VERSION) $(OUT_ARCHIVE) $(OUT_ARCHIVE_ANDROID) $(OUT_CHECKSUMS) --title "eCapture $(SNAPSHOT_VERSION)" --notes-file $(RELEASE_NOTES) .PHONY: clean clean: