diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index db3c0f4d84f..40e076f0996 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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 diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 1195a62a052..1b7d917f4d6 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -21,4 +21,5 @@ jobs: - uses: bluefireteam/melos-action@v3 with: publish: true + create-release: true diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 139d62418f6..4f40c0ed90e 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -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 -- \