Skip to content

Commit

Permalink
chore: merge
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Apr 14, 2022
1 parent 7ccc33d commit 4285113
Show file tree
Hide file tree
Showing 42 changed files with 40,223 additions and 36,971 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# based on: https://github.com/hirosystems/gh-actions-example/blob/main/.github/workflows/ci.yml
name: release
name: release beta

on:
push:
Expand All @@ -9,11 +8,10 @@ on:
- "**"
paths-ignore:
- "**/CHANGELOG.md"
- "**/package.json"

jobs:
release:
name: Release
name: Release Beta
runs-on: macos-latest
if: github.event_name == 'push'
steps:
Expand Down Expand Up @@ -42,13 +40,16 @@ jobs:
- name: Build
run: NODE_ENV=production npm run build

- name: "Release: Version"
run: npx lerna version --conventional-commits --conventional-prerelease --preid beta --no-push --yes

- name: "Release: Publish"
run: npx lerna publish --pre-dist-tag beta --yes
- name: "Release"
run: |
npx lerna-from-npm
npx lerna version --conventional-commits --conventional-prerelease --preid beta --no-push --no-git-tag-version --yes
git commit -a -m 'DONT PUSH'
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
npx lerna publish from-package --no-verify-access --pre-dist-tag beta --yes
export RELEASE=$(cat lerna.json | jq -r '.version')
git reset HEAD~ --hard
git tag v$RELEASE
git push origin v$RELEASE
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: "Release: Push Tag"
run: git push origin $(git describe --abbrev=0 --tags)
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.5.0](https://github.com/hirosystems/stacks.js/compare/v3.5.0-beta.3...v3.5.0) (2022-03-30)

**Note:** Version bump only for package stacks.js





# [3.4.0](https://github.com/hirosystems/stacks.js/compare/v3.3.0...v3.4.0) (2022-03-02)


Expand Down
4 changes: 2 additions & 2 deletions configs/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
},
external: [/\@stacks\/.*\/dist\/polyfill/],
plugins: [
// IMPORT PLUGIN ORDER:
// IMPORTANT PLUGIN ORDER:
// - alias > resolve
// - commonjs > replace
// - commonjs > typescript
Expand Down Expand Up @@ -64,7 +64,7 @@ export default {
}),
typescript({
tsconfig: './tsconfig.build.json',
// todo: disable delcation dist building
// todo: disable declaration dist building
}),
json({
compact: true,
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.4.0",
"version": "3.5.0",
"registry": "https://registry.npmjs.org/",
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit 4285113

Please sign in to comment.