We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1603dab commit f917a7eCopy full SHA for f917a7e
.github/workflows/release.yml
@@ -69,9 +69,14 @@ jobs:
69
GIT_USER_EMAIL="$(git log -1 --pretty=format:'%ae')"
70
71
cd typst-packages
72
+
73
+ # Add upstream remote and fetch
74
+ git remote add upstream https://github.com/typst/packages.git
75
+ git fetch --depth 1 upstream main
76
77
git config user.name "${GIT_USER_NAME}"
78
git config user.email "${GIT_USER_EMAIL}"
- git checkout -b "${PKG_NAME}-${PKG_VERSION}"
79
+ git checkout --no-track -B "${PKG_NAME}-${PKG_VERSION}" upstream/main
80
git add .
81
git commit -m "${PKG_NAME}:${PKG_VERSION}"
82
git push --force --set-upstream origin "${PKG_NAME}-${PKG_VERSION}"
0 commit comments