gh: git related fixes
This commit is contained in:
parent
8a2fafd7ab
commit
e22d279c8d
|
@ -64,13 +64,13 @@ jobs:
|
||||||
rm -rf $(ls -a | grep -v '^\.git$' | grep -v '^\.\.$' | grep -v '^\.$' | grep -v '^build$')
|
rm -rf $(ls -a | grep -v '^\.git$' | grep -v '^\.\.$' | grep -v '^\.$' | grep -v '^build$')
|
||||||
cp -r build/bin/. ./
|
cp -r build/bin/. ./
|
||||||
rm -rf build
|
rm -rf build
|
||||||
git add .
|
git add -f .
|
||||||
git commit -m "Binary release $TAG_NAME"
|
git commit -m "Binary release $TAG_NAME"
|
||||||
git push origin $BRANCH_NAME-binary
|
git push origin $BRANCH_NAME-binary
|
||||||
git tag $TAG_NAME-binary
|
git tag $TAG_NAME-binary
|
||||||
git push origin $BRANCH_NAME-binary --tags
|
git push origin $BRANCH_NAME-binary --tags
|
||||||
git checkout latest-binary
|
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
|
- name: Cleanup source tree
|
||||||
run: git checkout $TAG_NAME && rm -rf * && git checkout .
|
run: git checkout $TAG_NAME && rm -rf * && git checkout .
|
||||||
|
|
Loading…
Reference in New Issue