From 59ca7a8f518c7735c89148ff1d9a8ae9dcf4297f Mon Sep 17 00:00:00 2001 From: Dylan Schiemann Date: Mon, 13 Sep 2021 22:09:00 +0100 Subject: [PATCH] Fix release versioning (#4516) * correct immutability lockfile flag for yarn 3 * More experiments to re-enable the Version Packages action * add changeset * more work to fix automated changeset workflow --- .changeset/sixty-suns-hang.md | 5 +++++ .github/workflows/release.yml | 3 ++- package.json | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/sixty-suns-hang.md diff --git a/.changeset/sixty-suns-hang.md b/.changeset/sixty-suns-hang.md new file mode 100644 index 000000000..c79059659 --- /dev/null +++ b/.changeset/sixty-suns-hang.md @@ -0,0 +1,5 @@ +--- +'slate': patch +--- + +another attempt to get the automated changeset workflow working again diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e3760321..38bf9b8fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,8 @@ jobs: if: matrix.channel == 'latest' uses: changesets/action@master with: - version: yarn changeset version && yarn install && git add . + # defined in package.json#scripts + version: changeset:version publish: yarn changeset publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index a73168d23..bc5be0da0 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build": "yarn build:rollup && yarn build:next", "build:next": "cd ./site && next build && next export", "build:rollup": "rollup --config ./config/rollup/rollup.config.js", + "changeset:version": "yarn changeset version && yarn install && git add .", "clean": "rimraf './packages/*/{dist,lib,node_modules}' './site/{.next,out}'", "fix": "yarn fix:prettier && yarn fix:eslint", "fix:eslint": "yarn lint:eslint --fix",