Skip to content

Commit

Permalink
GHA: Clean up tag workflow (#5246)
Browse files Browse the repository at this point in the history
  • Loading branch information
malmstein authored Nov 6, 2024
1 parent 072e269 commit 737fb20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release_create_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
ASANA_PAT: ${{ secrets.GH_ASANA_SECRET }}
GH_TOKEN: ${{ secrets.GT_DAXMOBILE }}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -33,11 +34,6 @@ jobs:
ruby-version: 2.7.2
bundler-cache: true

- name: Set Git permissions
uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
token: '${{ secrets.GT_DAXMOBILE }}'

- name: Use fastlane lane to create and push tagged release
id: create_git_tag
run: |
Expand Down
3 changes: 0 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,11 @@ platform :android do
# Checkout all branches are available
sh("git fetch")
sh("git checkout main")
sh("git branch")
sh("git submodule update --init --recursive")
sh("git reset --hard")
sh("git clean -f -fxd")

sh("git checkout develop")
sh("git branch")
sh("git submodule update --init --recursive")
sh("git reset --hard")
sh("git clean -f -fxd")
Expand All @@ -287,7 +285,6 @@ platform :android do

# Merge release branch into main and tag it
sh "git checkout main"
sh "git pull origin main"
sh "git merge --no-ff release/#{app_version}"
sh "git tag -a #{app_version} -m #{app_version}"
sh "git push origin main --tags"
Expand Down

0 comments on commit 737fb20

Please sign in to comment.