Skip to content

Commit

Permalink
ci: update release config to publish to npm (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
devisscher committed Sep 2, 2022
1 parent 4e72397 commit 31abc78
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 39 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-actors-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/discount-app-components': patch
---

update changelog file name
5 changes: 5 additions & 0 deletions .changeset/wild-donuts-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/discount-app-components': patch
---

update release config to publish to npm
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish/tag depending
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
37 changes: 0 additions & 37 deletions CHANGELOG.MD

This file was deleted.

34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,37 @@
### Patch Changes

- [#37](https://github.com/Shopify/discount-app-components/pull/37) [`17a043d`](https://github.com/Shopify/discount-app-components/commit/17a043db5f84f03fc87385bda24fff0d074ada15) Thanks [@devisscher](https://github.com/devisscher)! - update readme with app provider links

## 1.0.3

### Minor Changes

- [#23](https://github.com/Shopify/discount-app-components/pull/23) - Update `CombinationCard` with improved messaging and removing info icon for no combination state

- [#20](https://github.com/Shopify/discount-app-components/pull/20) - Update `SummaryCard` to support rendering of "today" for the end date if the discount expires on today's date

### Patch Changes

- [#28](https://github.com/Shopify/discount-app-components/pull/28) - Update translations

- [#25](https://github.com/Shopify/discount-app-components/pull/25) - Update translations

- [#24](https://github.com/Shopify/discount-app-components/pull/24) - Update translations

- [#21](https://github.com/Shopify/discount-app-components/pull/21) - Update translations

- [#19](https://github.com/Shopify/discount-app-components/pull/19) - Update translations

## 1.0.2

### Patch Changes

- [#16](https://github.com/Shopify/discount-app-components/pull/16) - Fixes `ActiveDates` not updating checked state on endDate change, updates `MethodCard` logic for hiding/showing the `method` seciton header, deprecated type `PositiveNumericValue` and replaced with `PositiveNumericString`.

- [#15](https://github.com/Shopify/discount-app-components/pull/15) - Update translations

- [#12](https://github.com/Shopify/discount-app-components/pull/12) - Update translations

## 1.0.0

- Initial release
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"storybook": "yarn start-storybook",
"changeset": "changeset",
"version": "changeset version",
"release": "changeset tag"
"release": "changeset publish"
},
"dependencies": {
"@shopify/admin-graphql-api-utilities": "^2.0.0",
Expand Down

0 comments on commit 31abc78

Please sign in to comment.