Skip to content

Commit c47d125

Browse files
committed
fix(release): fix GithubAction workflow
1 parent e74c5ba commit c47d125

File tree

5 files changed

+6
-266
lines changed

5 files changed

+6
-266
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
- name: Extract App VersionCode
3838
run: echo "app_version_code=$(grep versionCode ./app/src/main/AndroidManifest.xml | cut -d\" -f2)" >> $GITHUB_ENV
3939

40+
- name: Extract Previous Tag Name
41+
run: echo "previous_tag_name=$(git tag --sort=taggerdate | tail -1)" >> $GITHUB_ENV
42+
4043
- name: Update About Data
4144
run : |
4245
echo "about.version=${{ env.tag_name }}" > ./app/src/main/assets/about.properties
@@ -58,10 +61,12 @@ jobs:
5861
- name: "Update Full ChangeLog"
5962
run: echo "${{ env.full_change_log }}" > CHANGELOG.md
6063

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

6772
- name: Merge develop -> master

DOCKER_ENV

Lines changed: 0 additions & 128 deletions
This file was deleted.

Dockerfile-php-build

Lines changed: 0 additions & 2 deletions
This file was deleted.

docker_tag

Lines changed: 0 additions & 1 deletion
This file was deleted.

output.log

Lines changed: 0 additions & 134 deletions
This file was deleted.

0 commit comments

Comments
 (0)