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:
|
||||
push:
|
||||
branches: [ develop, main ]
|
||||
paths:
|
||||
- packages/components/**
|
||||
tags:
|
||||
- '@standardnotes/components@*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
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:
|
||||
push:
|
||||
branches: [ develop ]
|
||||
paths:
|
||||
- packages/desktop/**
|
||||
tags:
|
||||
- '@standardnotes/desktop@*'
|
||||
workflow_dispatch:
|
||||
|
||||
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:
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- packages/desktop/**
|
||||
tags:
|
||||
- '@standardnotes/desktop@*'
|
||||
workflow_dispatch:
|
||||
|
||||
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:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
paths:
|
||||
- packages/mobile/**
|
||||
tags:
|
||||
- '@standardnotes/mobile@*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
android:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
defaults:
|
||||
run:
|
||||
working-directory: packages/mobile
|
||||
@@ -50,7 +47,6 @@ jobs:
|
||||
name: dev.apk
|
||||
path: android/app/build/outputs/apk/dev/release/app-dev-release.apk
|
||||
ios:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
defaults:
|
||||
run:
|
||||
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
|
||||
|
||||
on: [workflow_dispatch]
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '@standardnotes/mobile@*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
android:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
defaults:
|
||||
run:
|
||||
working-directory: packages/mobile
|
||||
@@ -49,7 +52,6 @@ jobs:
|
||||
name: release.aab
|
||||
path: android/app/build/outputs/bundle/prodRelease/app-prod-release.aab
|
||||
ios:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
defaults:
|
||||
run:
|
||||
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:
|
||||
test:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -27,7 +26,6 @@ jobs:
|
||||
run: yarn test
|
||||
|
||||
deploy:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
|
||||
|
||||
11
.github/workflows/web.dev.yml
vendored
11
.github/workflows/web.dev.yml
vendored
@@ -6,15 +6,13 @@ concurrency:
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ develop ]
|
||||
paths:
|
||||
- packages/web-server/**
|
||||
- packages/web/**
|
||||
tags:
|
||||
- '@standardnotes/web@*'
|
||||
- '@standardnotes/web-server@*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -32,8 +30,6 @@ jobs:
|
||||
|
||||
|
||||
deploy:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: test
|
||||
@@ -80,7 +76,6 @@ jobs:
|
||||
wait-for-service-stability: true
|
||||
|
||||
notify_discord:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
needs: deploy
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
10
.github/workflows/web.prod.yml
vendored
10
.github/workflows/web.prod.yml
vendored
@@ -6,14 +6,12 @@ concurrency:
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- packages/web-server/**
|
||||
- packages/web/**
|
||||
tags:
|
||||
- '@standardnotes/web@*'
|
||||
- '@standardnotes/web-server@*'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -30,7 +28,6 @@ jobs:
|
||||
run: yarn test
|
||||
|
||||
deploy:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: test
|
||||
@@ -77,7 +74,6 @@ jobs:
|
||||
wait-for-service-stability: true
|
||||
|
||||
notify_discord:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
needs: deploy
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user