Skip to content

Commit 8a7e2e1

Browse files
committed
Use tag for github_file_prefix in docs
1 parent 5c1000f commit 8a7e2e1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.jazzy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ clean: true
22
author: bcylin
33
author_url: https://github.com/bcylin
44
github_url: https://github.com/bcylin/QuickTableViewController
5-
github_file_prefix: https://github.com/bcylin/QuickTableViewController/blob/develop
5+
github_file_prefix: https://github.com/bcylin/QuickTableViewController/blob/v1.1.0
66
xcodebuild_arguments: [-project, QuickTableViewController.xcodeproj, -scheme, QuickTableViewController-iOS]
77
module: QuickTableViewController
88
module_version: 1.1.0

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ bump:
2020
ifeq (,$(strip $(version)))
2121
# Usage: make bump version=<number>
2222
else
23-
ruby -pi -e "gsub(/\d+\.\d+\.\d+/i, \""$(version)"\")" QuickTableViewController.podspec
24-
ruby -pi -e "gsub(/:\s\d+\.\d+\.\d+/i, \": "$(version)"\")" .jazzy.yml
23+
ruby -pi -e "gsub(%r{\d+\.\d+\.\d+}, %{"$(version)"})" QuickTableViewController.podspec
24+
ruby -pi -e "gsub(%r{\d+\.\d+\.\d+}, %{"$(version)"})" .jazzy.yml
2525
xcrun agvtool new-marketing-version $(version)
2626
endif
2727

0 commit comments

Comments
 (0)