Skip to content

Commit

Permalink
ci: debug canary releases
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Sep 22, 2023
1 parent 85b14d2 commit 08a9d48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish canary release
on:
push:
branches:
- "main"
- "fix-canary-releases"

jobs:
tag-and-publish-to-npm:
Expand All @@ -25,9 +25,9 @@ jobs:
- name: Run release script
run: yarn release:canary

- name: Publish all packages
run: ./scripts/publish.sh canary
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Publish all packages
# run: ./scripts/publish.sh canary
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

timeout-minutes: 10
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"release": "yarn release:prepare && yarn changelog && yarn release-commit",
"release:prepare": "git fetch --tags && conventional-recommended-bump -p angular | xargs yarn version:auto $1",
"release:canary": "yarn release:prepare && node scripts/get-unstable-version canary | xargs yarn version:auto $1",
"release:canary": "yarn release:prepare && node scripts/get-unstable-version canary | xargs yarn version:auto $1 && cat package.json",
"release:canary:old": "yarn release:prepare && node scripts/get-unstable-version canary | xargs yarn version:auto $1",
"release-commit": "git add -u && git commit -m \"release: v${npm_package_version}\"",
"version": "lerna version --force-publish -y --no-push --no-changelog --no-git-tag-version $npm_package_version",
"version:auto": "yarn version --no-git-tag-version --new-version $1",
Expand Down

0 comments on commit 08a9d48

Please sign in to comment.