Skip to content

Commit

Permalink
Merge pull request #33 from syaiful-aa/dev/3.0.5
Browse files Browse the repository at this point in the history
xxxx
  • Loading branch information
syaiful-aa authored Jun 28, 2024
2 parents b089400 + 4c335c1 commit 508c5d2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 23 deletions.
34 changes: 12 additions & 22 deletions .github/workflows/update-main-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
token: ${{ secrets.PAT_TOKEN }}

- name: Get version
id: get-version
Expand Down Expand Up @@ -46,29 +47,18 @@ jobs:
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}

# - name: Tag new target
# run: |
# git config user.email "[email protected]"
# git config user.name "GitHub Action"
- name: Tag new target
run: |
git config user.email "[email protected]"
git config user.name "GitHub Action"
# git tag -f v${{ needs.validate_version.outputs.full_version }} -m $'${{ github.event.pull_request.title }}'
# git tag -f v${{ needs.validate_version.outputs.major_version }} -m $'${{ github.event.pull_request.title }}'
git tag -f v${{ needs.validate_version.outputs.full_version }} -m $'${{ github.event.pull_request.title }}'
git tag -f v${{ needs.validate_version.outputs.major_version }} -m $'${{ github.event.pull_request.title }}'
# - name: Push new tag
# run: |
# git push -f origin v${{ needs.validate_version.outputs.full_version }}
# git push -f origin v${{ needs.validate_version.outputs.major_version }}

- name: "🏷️ Push tag"
uses: EndBug/latest-tag@v1
with:
tag-name: v${{ needs.validate_version.outputs.full_version }}
description: ${{ github.event.pull_request.title }}

- name: "🏷️ Push tag"
uses: EndBug/latest-tag@v1
with:
tag-name: v${{ needs.validate_version.outputs.major_version }}
description: ${{ github.event.pull_request.title }}
- name: Push new tag
run: |
git push -f origin v${{ needs.validate_version.outputs.full_version }}
git push -f origin v${{ needs.validate_version.outputs.major_version }}

2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: quick_math
description: A new Flutter package project.
version: 3.0.4
version: 3.0.5
homepage:

environment:
Expand Down

0 comments on commit 508c5d2

Please sign in to comment.