Skip to content

Commit c41672b

Browse files
committed
Merge branch 'hotfix/6.5.2' into production
2 parents 388c151 + 9cc62e7 commit c41672b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

_includes/img-url.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
%}
3030

3131
{% if include.absolute %}
32-
{% assign url = site.url | append: site.base_url | append: url %}
32+
{% assign url = site.url | append: site.baseurl | append: url %}
3333
{% else %}
34-
{% assign url = site.base_url | append: url %}
34+
{% assign url = site.baseurl | append: url %}
3535
{% endif %}
3636
{% endunless %}
3737
{%- endif -%}

tools/release

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,10 @@ branch() {
151151
fi
152152
}
153153

154-
## Build a gem package
154+
## Build a Gem package
155155
build_gem() {
156+
git checkout "$PROD_BRANCH"
157+
156158
# Remove unnecessary theme settings
157159
sed -i "s/^img_cdn:.*/img_cdn:/;s/^avatar:.*/avatar:/" _config.yml
158160
rm -f ./*.gem
@@ -168,6 +170,9 @@ build_gem() {
168170

169171
# restore the dist files for future development
170172
mkdir -p "$JS_DIST" && cp "$BACKUP_PATH"/* "$JS_DIST"
173+
174+
# back to the default branch
175+
git checkout "$DEFAULT_BRANCH"
171176
}
172177

173178
main() {

0 commit comments

Comments
 (0)