Skip to content

Commit

Permalink
chore: Update publish workflow to trigger on all tags and refactor ci…
Browse files Browse the repository at this point in the history
…der setup
  • Loading branch information
ishafiul committed Dec 28, 2023
1 parent 2082f94 commit d7a35af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 52 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 🚀 Publish New version
on:
push:
tags:
- "0.0.0"
- "*"

env:
JAVA_VERSION: "18.x"
Expand All @@ -29,20 +29,19 @@ jobs:
channel: ${{inputs.flutter_channel}}
cache: true

- name: 🔖 Generating new version and change log
- name: Setup Cider
run: |
flutter pub global activate cider
cider version ${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}+${{ env.NUMBER_OF_COMMITS }}
- name: Get changelog
id: changelog
uses: loopwerk/tag-changelog@v1
with:
token: ${{ secrets.GITOKEN }}
exclude_types: other,doc,chore

- name: Print tag description
- name: Generating new version and change log
run: |
echo ${{ steps.changelog.outputs.changes }}
cider version ${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCH }}+${{ env.NUMBER_OF_COMMITS }}
cider log changed "${{ steps.changelog.outputs.changes }}"
cider release
Expand Down
47 changes: 0 additions & 47 deletions .github/workflows/create_release2.yml

This file was deleted.

0 comments on commit d7a35af

Please sign in to comment.