Skip to content

Commit 4285113

Browse files
committed
chore: merge
1 parent 7ccc33d commit 4285113

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+40223
-36971
lines changed

.github/workflows/release.yml

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# based on: https://github.com/hirosystems/gh-actions-example/blob/main/.github/workflows/ci.yml
2-
name: release
1+
name: release beta
32

43
on:
54
push:
@@ -9,11 +8,10 @@ on:
98
- "**"
109
paths-ignore:
1110
- "**/CHANGELOG.md"
12-
- "**/package.json"
1311

1412
jobs:
1513
release:
16-
name: Release
14+
name: Release Beta
1715
runs-on: macos-latest
1816
if: github.event_name == 'push'
1917
steps:
@@ -42,13 +40,16 @@ jobs:
4240
- name: Build
4341
run: NODE_ENV=production npm run build
4442

45-
- name: "Release: Version"
46-
run: npx lerna version --conventional-commits --conventional-prerelease --preid beta --no-push --yes
47-
48-
- name: "Release: Publish"
49-
run: npx lerna publish --pre-dist-tag beta --yes
43+
- name: "Release"
44+
run: |
45+
npx lerna-from-npm
46+
npx lerna version --conventional-commits --conventional-prerelease --preid beta --no-push --no-git-tag-version --yes
47+
git commit -a -m 'DONT PUSH'
48+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
49+
npx lerna publish from-package --no-verify-access --pre-dist-tag beta --yes
50+
export RELEASE=$(cat lerna.json | jq -r '.version')
51+
git reset HEAD~ --hard
52+
git tag v$RELEASE
53+
git push origin v$RELEASE
5054
env:
5155
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
52-
53-
- name: "Release: Push Tag"
54-
run: git push origin $(git describe --abbrev=0 --tags)

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [3.5.0](https://github.com/hirosystems/stacks.js/compare/v3.5.0-beta.3...v3.5.0) (2022-03-30)
7+
8+
**Note:** Version bump only for package stacks.js
9+
10+
11+
12+
13+
614
# [3.4.0](https://github.com/hirosystems/stacks.js/compare/v3.3.0...v3.4.0) (2022-03-02)
715

816

configs/rollup.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default {
1717
},
1818
external: [/\@stacks\/.*\/dist\/polyfill/],
1919
plugins: [
20-
// IMPORT PLUGIN ORDER:
20+
// IMPORTANT PLUGIN ORDER:
2121
// - alias > resolve
2222
// - commonjs > replace
2323
// - commonjs > typescript
@@ -64,7 +64,7 @@ export default {
6464
}),
6565
typescript({
6666
tsconfig: './tsconfig.build.json',
67-
// todo: disable delcation dist building
67+
// todo: disable declaration dist building
6868
}),
6969
json({
7070
compact: true,

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.4.0",
2+
"version": "3.5.0",
33
"registry": "https://registry.npmjs.org/",
44
"publishConfig": {
55
"access": "public"

0 commit comments

Comments
 (0)