chore: release after tag push
This commit is contained in:
7
.github/workflows/components.publish.yml
vendored
7
.github/workflows/components.publish.yml
vendored
@@ -2,15 +2,12 @@ name: Components Publish
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ develop, main ]
|
tags:
|
||||||
paths:
|
- '@standardnotes/components@*'
|
||||||
- packages/components/**
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
|||||||
5
.github/workflows/desktop.release.beta.yml
vendored
5
.github/workflows/desktop.release.beta.yml
vendored
@@ -2,9 +2,8 @@ name: Desktop Beta Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ develop ]
|
tags:
|
||||||
paths:
|
- '@standardnotes/desktop@*'
|
||||||
- packages/desktop/**
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
5
.github/workflows/desktop.release.prod.yml
vendored
5
.github/workflows/desktop.release.prod.yml
vendored
@@ -2,9 +2,8 @@ name: Desktop Prod Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
tags:
|
||||||
paths:
|
- '@standardnotes/desktop@*'
|
||||||
- packages/desktop/**
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
8
.github/workflows/mobile.build-dev.yml
vendored
8
.github/workflows/mobile.build-dev.yml
vendored
@@ -2,15 +2,12 @@ name: Mobile Build Development
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- develop
|
- '@standardnotes/mobile@*'
|
||||||
paths:
|
|
||||||
- packages/mobile/**
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
android:
|
android:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: packages/mobile
|
working-directory: packages/mobile
|
||||||
@@ -50,7 +47,6 @@ jobs:
|
|||||||
name: dev.apk
|
name: dev.apk
|
||||||
path: android/app/build/outputs/apk/dev/release/app-dev-release.apk
|
path: android/app/build/outputs/apk/dev/release/app-dev-release.apk
|
||||||
ios:
|
ios:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: packages/mobile
|
working-directory: packages/mobile
|
||||||
|
|||||||
8
.github/workflows/mobile.build-prod.yml
vendored
8
.github/workflows/mobile.build-prod.yml
vendored
@@ -1,10 +1,13 @@
|
|||||||
name: Mobile Build Production
|
name: Mobile Build Production
|
||||||
|
|
||||||
on: [workflow_dispatch]
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '@standardnotes/mobile@*'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
android:
|
android:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: packages/mobile
|
working-directory: packages/mobile
|
||||||
@@ -49,7 +52,6 @@ jobs:
|
|||||||
name: release.aab
|
name: release.aab
|
||||||
path: android/app/build/outputs/bundle/prodRelease/app-prod-release.aab
|
path: android/app/build/outputs/bundle/prodRelease/app-prod-release.aab
|
||||||
ios:
|
ios:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: packages/mobile
|
working-directory: packages/mobile
|
||||||
|
|||||||
26
.github/workflows/version-bump.yml
vendored
Normal file
26
.github/workflows/version-bump.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
name: Version Bump
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ develop, main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Set up Ruby
|
||||||
|
uses: ruby/setup-ruby@v1
|
||||||
|
- name: Install dependencies
|
||||||
|
run: yarn install
|
||||||
|
- name: ESLint
|
||||||
|
run: yarn lint
|
||||||
|
- name: Build
|
||||||
|
run: yarn build
|
||||||
|
- name: Test
|
||||||
|
run: yarn test
|
||||||
|
- name: Bump Version
|
||||||
|
run: yarn release
|
||||||
2
.github/workflows/web.beta.yml
vendored
2
.github/workflows/web.beta.yml
vendored
@@ -10,7 +10,6 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -27,7 +26,6 @@ jobs:
|
|||||||
run: yarn test
|
run: yarn test
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: test
|
needs: test
|
||||||
|
|
||||||
|
|||||||
11
.github/workflows/web.dev.yml
vendored
11
.github/workflows/web.dev.yml
vendored
@@ -6,15 +6,13 @@ concurrency:
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ develop ]
|
tags:
|
||||||
paths:
|
- '@standardnotes/web@*'
|
||||||
- packages/web-server/**
|
- '@standardnotes/web-server@*'
|
||||||
- packages/web/**
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -32,8 +30,6 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
needs: test
|
needs: test
|
||||||
@@ -80,7 +76,6 @@ jobs:
|
|||||||
wait-for-service-stability: true
|
wait-for-service-stability: true
|
||||||
|
|
||||||
notify_discord:
|
notify_discord:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
needs: deploy
|
needs: deploy
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
10
.github/workflows/web.prod.yml
vendored
10
.github/workflows/web.prod.yml
vendored
@@ -6,14 +6,12 @@ concurrency:
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
tags:
|
||||||
paths:
|
- '@standardnotes/web@*'
|
||||||
- packages/web-server/**
|
- '@standardnotes/web-server@*'
|
||||||
- packages/web/**
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -30,7 +28,6 @@ jobs:
|
|||||||
run: yarn test
|
run: yarn test
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
needs: test
|
needs: test
|
||||||
@@ -77,7 +74,6 @@ jobs:
|
|||||||
wait-for-service-stability: true
|
wait-for-service-stability: true
|
||||||
|
|
||||||
notify_discord:
|
notify_discord:
|
||||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
|
||||||
needs: deploy
|
needs: deploy
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"packages/mobile": "3.22.0",
|
|
||||||
"packages/desktop": "3.22.1",
|
|
||||||
"packages/web": "3.22.1"
|
|
||||||
}
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
"start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
|
"start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"reset": "find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock",
|
"reset": "find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock",
|
||||||
"release": "yarn workspaces foreach run release",
|
"release": "lerna version --conventional-commits --yes -m \"chore(release): publish\""
|
||||||
"version-bump": "lerna version --conventional-commits --yes -m \"chore(release): publish\""
|
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@types/styled-components/@types/react": "17.0.2",
|
"@types/styled-components/@types/react": "17.0.2",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@standardnotes/components-meta",
|
"name": "@standardnotes/components",
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"workspaces": {
|
"workspaces": {
|
||||||
@@ -9,8 +9,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "echo BUILDING COMPONENTS && yarn workspaces foreach --parallel run build",
|
"build": "echo BUILDING COMPONENTS && yarn workspaces foreach --parallel run build",
|
||||||
"lint": "yarn workspaces foreach --parallel run lint",
|
"lint": "yarn workspaces foreach --parallel run lint"
|
||||||
"version": "node scripts/package-components.mjs && git add dist && git commit -m 'chore(release): components'"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@standardnotes/deterministic-zip": "^1.2.0",
|
"@standardnotes/deterministic-zip": "^1.2.0",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"build:server:all": "yarn workspaces foreach -ptR run build"
|
"build:server:all": "yarn workspaces foreach -ptR run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@standardnotes/components-meta": "workspace:*",
|
"@standardnotes/components": "workspace:*",
|
||||||
"@standardnotes/web": "workspace:*"
|
"@standardnotes/web": "workspace:*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"bootstrap-sha": "1cfe0de787ed8b7f84e70d68a64927da6a21c62d",
|
|
||||||
"commit-search-depth": 100,
|
|
||||||
"plugins": ["node-workspace"],
|
|
||||||
"packages": {
|
|
||||||
"packages/desktop": {},
|
|
||||||
"packages/web": {},
|
|
||||||
"packages/mobile": {},
|
|
||||||
"packages/components-meta": {},
|
|
||||||
"packages/icons": {},
|
|
||||||
"packages/toast": {},
|
|
||||||
"packages/styles": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
20
yarn.lock
20
yarn.lock
@@ -4950,9 +4950,16 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@standardnotes/components-meta@workspace:*, @standardnotes/components-meta@workspace:packages/components":
|
"@standardnotes/components@npm:1.9.1, @standardnotes/components@npm:^1.9.1":
|
||||||
|
version: 1.9.1
|
||||||
|
resolution: "@standardnotes/components@npm:1.9.1"
|
||||||
|
checksum: 32c2dbb0295086f6ef77092c4a316f3af077c400598520240ae00c51d752ad59e45bc082013e1a070662b17882487c054c8f2f491179c41de5cbd5b90797b16f
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@standardnotes/components@workspace:*, @standardnotes/components@workspace:packages/components":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@standardnotes/components-meta@workspace:packages/components"
|
resolution: "@standardnotes/components@workspace:packages/components"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@standardnotes/deterministic-zip": ^1.2.0
|
"@standardnotes/deterministic-zip": ^1.2.0
|
||||||
"@standardnotes/features": ^1.45.1
|
"@standardnotes/features": ^1.45.1
|
||||||
@@ -4964,13 +4971,6 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@standardnotes/components@npm:1.9.1, @standardnotes/components@npm:^1.9.1":
|
|
||||||
version: 1.9.1
|
|
||||||
resolution: "@standardnotes/components@npm:1.9.1"
|
|
||||||
checksum: 32c2dbb0295086f6ef77092c4a316f3af077c400598520240ae00c51d752ad59e45bc082013e1a070662b17882487c054c8f2f491179c41de5cbd5b90797b16f
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@standardnotes/config@npm:^2.4.3":
|
"@standardnotes/config@npm:^2.4.3":
|
||||||
version: 2.4.3
|
version: 2.4.3
|
||||||
resolution: "@standardnotes/config@npm:2.4.3"
|
resolution: "@standardnotes/config@npm:2.4.3"
|
||||||
@@ -5586,7 +5586,7 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@standardnotes/web-server@workspace:packages/web-server"
|
resolution: "@standardnotes/web-server@workspace:packages/web-server"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@standardnotes/components-meta": "workspace:*"
|
"@standardnotes/components": "workspace:*"
|
||||||
"@standardnotes/web": "workspace:*"
|
"@standardnotes/web": "workspace:*"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|||||||
Reference in New Issue
Block a user