This action increment build and version number using agvtool.
- uses: yanamura/ios-bump-version@v1
with:
# version number
# ex. 3.2.0
# If version is not set, the version does not be changed.
version: ''
# build number
# ex. 10
# If build-number is not set, auto-increment build number.
build-number: ''
Note: Set
Current Project Version
andVersioning System
toApple Generic
on your Xcode Project Setting.
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKENN }}
- uses: yanamura/ios-bump-version@v1
with:
version: 1.1.0
- name: update
run: |
git add .
git commit -m "bump version"
git push origin HEAD
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKENN }}
- uses: yanamura/ios-bump-version@v1
with:
version: 1.1.0
build-number: ${{github.run_number}}
project-path: ios #Example for React Native project
- name: update
run: |
git add .
git commit -m "bump version"
git push origin HEAD
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKENN }}
- uses: yanamura/ios-bump-version@v1
with:
version-path: version.file
- name: update
run: |
git add .
git commit -m "bump version"
git push origin HEAD