Skip to content

Commit

Permalink
add pipeline for release
Browse files Browse the repository at this point in the history
  • Loading branch information
cuisongliu committed Apr 18, 2023
1 parent 7d61ab7 commit 450b368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gh/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 450b368

Please sign in to comment.