Skip to content

Commit

Permalink
ci: Start publishing from tag refs (#58)
Browse files Browse the repository at this point in the history
* ci: Start publishing from tag refs

* ci: Use dependency graph order
  • Loading branch information
spydon authored Sep 20, 2024
1 parent 5e39e85 commit ac080b6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Tag release
name: Tag and start release
on:
push:
branches: [main]

jobs:
publish-packages:
name: Create tag for a release
name: Create tags and start release
permissions:
contents: write
runs-on: [ ubuntu-latest ]
Expand All @@ -16,3 +16,9 @@ jobs:
- uses: bluefireteam/melos-action@v3
with:
tag: true
- run: |
melos exec -c1 --no-published --no-private --order-dependents -- \
gh workflow run release-publish.yml \
--ref \$MELOS_PACKAGE_NAME-v\$MELOS_PACKAGE_VERSION
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ac080b6

Please sign in to comment.