π :: (#251) μ§μνν© ν©κ²©λ νμ¬ ν΄λ¦ μ μ΄λ²€νΈ μ²λ¦¬ #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Move version to release branch | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
deploy: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: git merge to release | |
run: | | |
git config --global user.name 'Team return' | |
git config --global user.email '[email protected]' | |
git config pull.rebase false | |
git checkout -t origin/release | |
echo $(git merge -Xtheirs origin/develop) | |
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${{ github.ref_name }}" Projects/App/Support/Info.plist | |
git add -A | |
git commit -m "π :: Deploy version ${{ github.ref_name }} to testflight" | |
git push |