-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d61ab7
commit 450b368
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ const ( | |
configUser = "cd /tmp/fork-sealos-repo && git config user.name %s" | ||
forkRepo = "gh repo view %s >/dev/null 2>&1 || (echo '仓库不存在,正在fork仓库...' && gh repo fork %s %s)" | ||
syncRepo = "cd /tmp/fork-sealos-repo && git fetch fork && git rebase fork/main && git push -f origin main && git fetch --tags fork && git push -f --tags origin" | ||
cloneRepo = "rm -rf /tmp/fork-sealos-repo && && gh repo clone %s /tmp/fork-sealos-repo" | ||
cloneRepo = "rm -rf /tmp/fork-sealos-repo && gh repo clone %s /tmp/fork-sealos-repo" | ||
setToken = "cd /tmp/fork-sealos-repo && git remote set-url origin https://%s:%[email protected]/%s.git" | ||
newBranch = "cd /tmp/fork-sealos-repo && git checkout -b %s" | ||
generateChangelog = "cd /tmp/fork-sealos-repo && bash %s" | ||
|