gh: git related fixes

This commit is contained in:
mintsuki 2022-03-26 02:30:05 +01:00
parent 8a2fafd7ab
commit e22d279c8d
1 changed files with 2 additions and 2 deletions

View File

@ -64,13 +64,13 @@ jobs:
rm -rf $(ls -a | grep -v '^\.git$' | grep -v '^\.\.$' | grep -v '^\.$' | grep -v '^build$')
cp -r build/bin/. ./
rm -rf build
git add .
git add -f .
git commit -m "Binary release $TAG_NAME"
git push origin $BRANCH_NAME-binary
git tag $TAG_NAME-binary
git push origin $BRANCH_NAME-binary --tags
git checkout latest-binary
git rebase $BRANCH_NAME-binary && git push origin latest-binary
git reset --hard $BRANCH_NAME-binary && git push -f origin latest-binary
- name: Cleanup source tree
run: git checkout $TAG_NAME && rm -rf * && git checkout .