Skip to content

Commit 6f2e096

Browse files
committed
release v4.0.0-unstable.2
1 parent 2d1c9eb commit 6f2e096

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Publish to NPM
22

3-
# on:
4-
# release:
5-
# types:
6-
# - published
7-
# - edited
3+
on:
4+
release:
5+
types:
6+
- published
7+
- edited
88

99
jobs:
1010
deploy:
@@ -41,13 +41,13 @@ jobs:
4141
- name: Publish to npm
4242
run: |
4343
if [ "${{ github.event.release.prerelease }}" == "false" ]; then
44-
npm publish --access public --dry-run
45-
npm publish --access public
46-
echo "::notice title=Published ${{ github.ref_name }} to @${{ github.repository }}::This is a stable release published to the default 'latest' npm tag"
44+
npm publish --access public --tag next --dry-run
45+
npm publish --access public --tag next
46+
echo "::notice title=Published ${{ github.ref_name }} to @${{ github.repository }}::This is a special next release published to the 'next' npm tag"
4747
else
48-
npm publish --access public --tag ${{ env.PRERELEASE_TAG }} --dry-run
49-
npm publish --access public --tag ${{ env.PRERELEASE_TAG }}
50-
echo "::notice title=Published ${{ github.ref_name }} to @${{ github.repository }}@${{ env.PRERELEASE_TAG }}::This is a pre-release published to the '${{ env.PRERELEASE_TAG }}' npm tag"
48+
npm publish --access public --tag next-${{ env.PRERELEASE_TAG }} --dry-run
49+
npm publish --access public --tag next-${{ env.PRERELEASE_TAG }}
50+
echo "::notice title=Published ${{ github.ref_name }} to @${{ github.repository }}@${{ env.PRERELEASE_TAG }}::This is a pre-release published to the 'next-${{ env.PRERELEASE_TAG }}' npm tag"
5151
fi
5252
env:
5353
NODE_AUTH_TOKEN: ${{secrets.NPM_DEPLOY_TOKEN}}

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 14.17.6
1+
nodejs 16

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## v4.0.0-unstable.2 - [December 10, 2022](https://github.com/lando/core-next/releases/tag/v4.0.0-unstable.2)
22

3-
* Test release
3+
* DEPLOY TEST
44

55
## v4.0.0-unstable.1 - [December 6, 2022](https://github.com/lando/core-next/releases/tag/v4.0.0-unstable.1)
66

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@lando/core",
33
"description": "The libraries that power all of Lando.",
4-
"version": "4.0.0-unstable.1",
4+
"version": "4.0.0-unstable.2",
55
"author": "Mike Pirog @pirog",
66
"license": "GPL-3.0",
77
"repository": "lando/core-next",
@@ -57,4 +57,4 @@
5757
"version-bump-prompt": "^4.2.1",
5858
"vuepress": "2.0.0-beta.53"
5959
}
60-
}
60+
}

0 commit comments

Comments
 (0)