Force tag creation and fix Windows path
This commit is contained in:
parent
2335aa4fb5
commit
dba8afd4f9
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -78,8 +78,8 @@ jobs:
|
||||
DATE=$(date +"%Y-%m-%d %H:%M:%S")
|
||||
COMMIT_HASH=$(git rev-parse --short HEAD)
|
||||
TAG="latest-${BIRTH_ARCH}-${BIRTH_OS}-${CMAKE_BUILD_TYPE}"
|
||||
git tag -a "$TAG" -m "Release on $DATE for commit $COMMIT_HASH"
|
||||
git push origin "$TAG"
|
||||
git tag -a "$TAG" -m "Release on $DATE for commit $COMMIT_HASH" -f
|
||||
git push origin "$TAG" -f
|
||||
echo "RELEASE_TAG=$TAG" >> $GITHUB_ENV
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
|
@ -118,5 +118,10 @@ if [ "$BUSTER_GITHUB_RUN" == "true" ]; then
|
||||
7z a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=64m -ms=on $BB_INSTALL_NAME.7z $BB_INSTALL_PATH
|
||||
b2sum $BB_INSTALL_NAME.7z > "$BB_INSTALL_NAME.7z.b2sum"
|
||||
|
||||
case "$BIRTH_OS" in
|
||||
windows) BB_INSTALL_PATH="$(cygpath -w ${BB_INSTALL_PATH})" ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
echo "BLOAT_BUSTER_RELEASE_PATH_BASE=$BB_INSTALL_PATH" >> $GITHUB_ENV
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user