Skip to content

πŸ”€ :: (#579) κΉƒν—ˆλΈŒ λž­ν‚Ή μ—…λ°μ΄νŠΈ 둜직 μˆ˜μ • #61

πŸ”€ :: (#579) κΉƒν—ˆλΈŒ λž­ν‚Ή μ—…λ°μ΄νŠΈ 둜직 μˆ˜μ •

πŸ”€ :: (#579) κΉƒν—ˆλΈŒ λž­ν‚Ή μ—…λ°μ΄νŠΈ 둜직 μˆ˜μ • #61

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 'xquare-admin'
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 }}" Application/SupportingFiles/Info.plist
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${{ github.ref_name }}" Application/Widget/SupportingFiles/Info.plist
git add -A
git commit -m "πŸš€ :: Deploy version ${{ github.ref_name }} to testflight"
git push