Skip to content

Commit

Permalink
fix(release): fix GithubAction workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed Sep 1, 2023
1 parent e74c5ba commit c47d125
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 266 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
- name: Extract App VersionCode
run: echo "app_version_code=$(grep versionCode ./app/src/main/AndroidManifest.xml | cut -d\" -f2)" >> $GITHUB_ENV

- name: Extract Previous Tag Name
run: echo "previous_tag_name=$(git tag --sort=taggerdate | tail -1)" >> $GITHUB_ENV

- name: Update About Data
run : |
echo "about.version=${{ env.tag_name }}" > ./app/src/main/assets/about.properties
Expand All @@ -58,10 +61,12 @@ jobs:
- name: "Update Full ChangeLog"
run: echo "${{ env.full_change_log }}" > CHANGELOG.md

- name: Push Update to repo
- name: Update develop branch
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
add: "['CHANGELOG.md', 'package.json']" #only this files will be added
push: origin HEAD:develop
message: "ci(release): release new version ${{ env.tag_name }}"

- name: Merge develop -> master
Expand Down
128 changes: 0 additions & 128 deletions DOCKER_ENV

This file was deleted.

2 changes: 0 additions & 2 deletions Dockerfile-php-build

This file was deleted.

1 change: 0 additions & 1 deletion docker_tag

This file was deleted.

134 changes: 0 additions & 134 deletions output.log

This file was deleted.

0 comments on commit c47d125

Please sign in to comment.