Skip to content

Commit

Permalink
Release v0.2.0
Browse files Browse the repository at this point in the history
disable `ecapture -h` in release.yml on qemu linux.

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
  • Loading branch information
cfc4n committed Jul 3, 2022
1 parent 0dce220 commit 302dddb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
make clean
make
echo "-------------------ecapture --help-------------------"
bin/ecapture -h
echo "bin/ecapture -h"
echo "-------------------create tar.gz file-------------------"
UNAME_M=`uname -m`
OUTPUT_DIR="./bin"
Expand All @@ -168,12 +168,12 @@ jobs:
tar -czf ${OUT_ARCHIVE} ${TAR_DIR}
cp ${OUT_ARCHIVE} "/artifacts/"
echo "-------------------end: Create ecapture.tar.gz of Linux -------------------"
echo "-------------------end: Create ecapture.tar.gz of Android GKI -------------------"
echo "-------------------start: Create ecapture.tar.gz of Android kernel 4.18+ -------------------"
make env
make clean
ANDROID=1 make
ANDROID=1 make nocore
echo "-------------------ecapture --help-------------------"
bin/ecapture -h
echo "bin/ecapture -h"
echo "-------------------create tar.gz file-------------------"
UNAME_M=`uname -m`
OUTPUT_DIR="./bin"
Expand All @@ -184,7 +184,7 @@ jobs:
fi
TAR_DIR=ecapture-${SNAPSHOT_VERSION}-android_gki-${UNAME_M}
RELEASE_NOTES=${OUTPUT_DIR}/release_notes.txt
OUT_ARCHIVE=${OUTPUT_DIR}/${artifact_name}-android_gki-${{ matrix.arch }}.tar.gz
OUT_ARCHIVE=${OUTPUT_DIR}/${artifact_name}-android-${{ matrix.arch }}.tar.gz
mkdir -p ${TAR_DIR}
cp LICENSE ${TAR_DIR}/LICENSE
cp CHANGELOG.md ${TAR_DIR}/CHANGELOG.md
Expand All @@ -194,7 +194,7 @@ jobs:
cp ${OUTPUT_DIR}/release_notes.txt ${TAR_DIR}/release_notes.txt
tar -czf ${OUT_ARCHIVE} ${TAR_DIR}
cp ${OUT_ARCHIVE} "/artifacts/"
echo "-------------------end: Create ecapture.tar.gz of Android GKI -------------------"
echo "-------------------end: Create ecapture.tar.gz of Android kernel 4.18+ -------------------"
go test -v ./...
echo "Produced artifact at /artifacts/${artifact_name}"
Expand Down
2 changes: 1 addition & 1 deletion builder/Makefile.release
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ publish: \
.check_$(CMD_GITHUB)
#
# release it!
$(CMD_GITHUB) release create $(SNAPSHOT_VERSION) $(OUT_ARCHIVE) $(OUT_CHECKSUMS) --title "eCapture $(SNAPSHOT_VERSION) release (Linux x86_64/aarch64, Android GKI)." --notes-file $(TAR_DIR)/release_notes.txt
$(CMD_GITHUB) release create $(SNAPSHOT_VERSION) $(OUT_ARCHIVE) $(OUT_CHECKSUMS) --title "eCapture $(SNAPSHOT_VERSION) release (Linux x86_64/aarch64, Android kernel 4.18+)." --notes-file $(TAR_DIR)/release_notes.txt

.PHONY: clean
clean:
Expand Down

0 comments on commit 302dddb

Please sign in to comment.