Skip to content

Commit

Permalink
ci: fix the automated publishing workflow (#2363)
Browse files Browse the repository at this point in the history
* ci: fix incorrect script paths

* chore: fix args order for the publish scripts

* ci: add TODO to GitHub release notes issue
  • Loading branch information
EchoEllet authored Nov 9, 2024
1 parent c7fbec2 commit 0c2d1a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/gh_release_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
id: ${{ github.event.release.id }}
# TODO: Since the version changes in CHANGELOG.md are automated, this won't the expected version, they will be committed on publish
body: ${{ steps.extract-release-notes.outputs.release_notes }}
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# TODO: Might automate some changes of the CHANGELOG.md (outdated TODO)

- name: πŸ“ Update package version in pubspec.yaml
run: dart ./update_pubspec_version.dart ./pubspec.yaml ${{ steps.extract_version.outputs.VERSION }}
run: dart ./scripts/update_pubspec_version.dart ${{ steps.extract_version.outputs.VERSION }} ./pubspec.yaml

# - name: πŸ“ Update CHANGELOG.md to reflect the change
# uses: thomaseizinger/keep-a-changelog-new-release@v2
Expand All @@ -80,7 +80,7 @@ jobs:
# changelogPath: ./CHANGELOG.md

- name: πŸ“ Update CHANGELOG.md to reflect the change
run: dart ./update_changelog_version.dart ./CHANGELOG.md ${{ steps.extract_version.outputs.VERSION }}
run: dart ./scripts/update_changelog_version.dart ${{ steps.extract_version.outputs.VERSION }} ./CHANGELOG.md

- name: πŸ“„ Print updated pubspec.yaml
run: |
Expand Down

0 comments on commit 0c2d1a2

Please sign in to comment.