Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix the automated publishing workflow #2363

Merged
merged 3 commits into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading