Skip to content

Commit

Permalink
ci: change to tag based changelog generation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehmcc committed Jul 29, 2024
1 parent 77d81f6 commit b74bbfd
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/build-on-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,17 @@ jobs:
permissions:
contents: write
steps:
# Set up repo
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0
# Setup Repo
- name: Checkout
uses: actions/checkout@v2

# Changelog time!
- name: Conventional Changelog Action
uses: TriPSs/conventional-changelog-action@v5
# Create tag based changelog
- name: Create changelog text
id: changelog
uses: loopwerk/tag-changelog@v1
with:
github-token: ${{ secrets.github_token }}
skip-git-pull: "true"
version-file: "./pubspec.yaml"
token: ${{ secrets.GITHUB_TOKEN }}
exclude_types: other,ci

# Get the dependencies going
- name: Set up Flutter
Expand Down Expand Up @@ -90,7 +88,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_paths: '["./vup-chat-web.zip", "./outputs/*", "vup-chat-linux.zip", "CHANGELOG.md"]'
asset_paths: '["./vup-chat-web.zip", "./outputs/*", "vup-chat-linux.zip"]'
# TODO: Add Windows build

# TODO: Add MacOS & iOS bilds

0 comments on commit b74bbfd

Please sign in to comment.