Skip to content

Commit

Permalink
Merge pull request #58 from liquality/update-release-flow
Browse files Browse the repository at this point in the history
ci: update release flow
  • Loading branch information
koderholic authored Feb 20, 2023
2 parents 497428b + 8ec59a3 commit 07bde1a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 20 deletions.
21 changes: 2 additions & 19 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "pre",
"mode": "exit",
"tag": "next",
"initialVersions": {
"api": "0.0.0",
Expand All @@ -9,22 +9,5 @@
"tsconfig": "0.0.0",
"ui": "0.0.0"
},
"changesets": [
"brave-pillows-deny",
"few-buckets-behave",
"forty-cows-pull",
"funny-apricots-jam",
"heavy-timers-care",
"light-meals-battle",
"lucky-onions-cry",
"moody-pots-arrive",
"old-files-matter",
"purple-dragons-mix",
"rotten-humans-approve",
"spotty-geckos-pull",
"strong-lies-travel",
"tasty-pens-shave",
"wicked-masks-hear",
"young-feet-pump"
]
"changesets": []
}
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ jobs:
files: |
.changeset/**
- name: Exit Prerelease
run: yarn changeset-prerelease-exit

- name: Commit Exit Prerelease
uses: EndBug/add-and-commit@v9
with:
message: 'exit prerelease'

- name: Create Release Pull Request & npm publish (latest)
if: github.ref == 'refs/heads/master' && steps.changed-files-specific.outputs.any_changed == 'true' || steps.changed-files-specific.outputs.any_deleted == 'true'
uses: changesets/action@v1
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"changeset": "changeset",
"version-packages": "changeset version",
"release": "yarn build --force && changeset publish --yes",
"changeset-prerelease-enter": "changeset pre exit && changeset pre enter next"
"changeset-prerelease-enter": "changeset pre enter next",
"changeset-prerelease-exit": "changeset pre exit"
},
"devDependencies": {
"@changesets/cli": "^2.22.0",
Expand Down

0 comments on commit 07bde1a

Please sign in to comment.