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.
production
1 parent 19d6baf commit 9cc62e7Copy full SHA for 9cc62e7
tools/release
@@ -151,8 +151,10 @@ branch() {
151
fi
152
}
153
154
-## Build a gem package
+## Build a Gem package
155
build_gem() {
156
+ git checkout "$PROD_BRANCH"
157
+
158
# Remove unnecessary theme settings
159
sed -i "s/^img_cdn:.*/img_cdn:/;s/^avatar:.*/avatar:/" _config.yml
160
rm -f ./*.gem
@@ -168,6 +170,9 @@ build_gem() {
168
170
169
171
# restore the dist files for future development
172
mkdir -p "$JS_DIST" && cp "$BACKUP_PATH"/* "$JS_DIST"
173
174
+ # back to the default branch
175
+ git checkout "$DEFAULT_BRANCH"
176
177
178
main() {
0 commit comments