Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v2
- uses: bluefireteam/melos-action@v3
- uses: bluefireteam/flutter-gh-pages@v9
with:
workingDir: examples
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ jobs:
- uses: bluefireteam/melos-action@v3
with:
publish: true
create-release: true

21 changes: 0 additions & 21 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,6 @@ jobs:
- uses: bluefireteam/melos-action@v3
with:
tag: true
- name: Create v-tag and GitHub release for flame
run: |
# Get the flame version from its pubspec
FLAME_VERSION=$(grep '^version:' packages/flame/pubspec.yaml | awk '{print $2}')
TAG="v${FLAME_VERSION}"

# Create the short v-tag if it doesn't already exist
if ! git tag -l "$TAG" | grep -q .; then
git tag "$TAG"
git push origin "$TAG"
fi

# Extract changelog for this version (everything between first and second ## headings)
CHANGELOG=$(awk '/^## /{if(found) exit; found=1; next} found' packages/flame/CHANGELOG.md)

# Create GitHub release
gh release create "$TAG" \
--title "Flame $TAG" \
--notes "$CHANGELOG"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Trigger publish for unpublished packages
run: |
melos exec -c1 --no-published --no-private --order-dependents -- \
Expand Down
Loading