Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit dd270a7

Browse files
committed
fix: what about it?
1 parent 489a568 commit dd270a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

publish_upm.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
BRANCH=$1
22
TAG=$2
3+
git branch -d $BRANCH &> /dev/null || echo $BRANCH branch not found
34
git subtree split --prefix=Packages/com.nuclearband.sodatabase -b $BRANCH
4-
git pull -f
5+
git checkout $BRANCH
56
#git filter-branch --prune-empty --tree-filter 'rm -rf Tests' upm
67
git gc
78
git filter-repo --force --invert-paths --path Samples.meta --path-rename "Samples:Samples~" --refs $BRANCH
89
git tag $TAG $BRANCH
9-
git push origin $BRANCH --tags
10+
git push -f -u origin $BRANCH --tags

0 commit comments

Comments
 (0)