File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,8 @@ jobs:
128
128
bundle install
129
129
- name : Create Jazzy Docs
130
130
run : ./Scripts/jazzy.sh
131
+ env :
132
+ BUILD_VERSION : ' 1.8.3'
131
133
132
134
cocoapods :
133
135
needs : xcode-build-watchos
Original file line number Diff line number Diff line change 39
39
run : |
40
40
bundle config path vendor/bundle
41
41
bundle install
42
+ - name : Get release version
43
+ run : echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
42
44
- name : Create Jazzy Docs
43
45
run : ./Scripts/jazzy.sh
46
+ env :
47
+ BUILD_VERSION : ${{ env.TAG }}
44
48
- name : Deploy Jazzy Docs
45
49
uses : peaceiris/actions-gh-pages@v3
46
50
with :
Original file line number Diff line number Diff line change 1
- ver=` cat ParseSwift.xcodeproj/project.pbxproj | grep -m1 ' MARKETING_VERSION' | cut -d' =' -f2 | tr -d ' ;' | tr -d ' ' `
2
1
bundle exec jazzy \
3
2
--clean \
4
3
--author " Parse Community" \
5
4
--author_url http://parseplatform.org \
6
5
--github_url https://github.com/parse-community/Parse-Swift \
7
6
--root-url http://parseplatform.org/Parse-Swift/api/ \
8
- --module-version ${ver } \
7
+ --module-version ${BUILD_VERSION } \
9
8
--theme fullwidth \
10
9
--skip-undocumented \
11
10
--output ./docs/api \
You can’t perform that action at this time.
0 commit comments