mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
Stop creating tags for lerna on release-start (#4573)
This commit is contained in:
parent
b069bfde6c
commit
50df8c1a93
9
.github/workflows/release-publish.yml
vendored
9
.github/workflows/release-publish.yml
vendored
@ -24,6 +24,14 @@ jobs:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Bootstrap packages
|
||||
run: npm run bootstrap
|
||||
|
||||
- name: Install and login to snapcraft
|
||||
if: ${{ env.IS_PRERELEASE == 'false' }}
|
||||
run: |
|
||||
@ -50,6 +58,7 @@ jobs:
|
||||
tag_name: lib@${{ env.INSO_VERSION }}
|
||||
release_name: "Inso CLI ${{ env.INSO_VERSION }} 📦"
|
||||
body: "Full changelog ⇒ https://insomnia.rest/changelog"
|
||||
commit: ${{ env.RELEASE_BRANCH }}
|
||||
prerelease: ${{ env.IS_PRERELEASE }}
|
||||
draft: false
|
||||
env:
|
||||
|
12
.github/workflows/release-start.yml
vendored
12
.github/workflows/release-start.yml
vendored
@ -57,16 +57,12 @@ jobs:
|
||||
- name: Config version
|
||||
run: APP_VERSION="${{ env.RELEASE_VERSION }}" npm run app-bump-version
|
||||
|
||||
- name: Commit app version bump
|
||||
run: git commit -am "Bump app config version to ${{ env.RELEASE_VERSION }}"
|
||||
|
||||
- name: Lerna version (alpha/beta)
|
||||
- name: Lerna version
|
||||
if: github.event.inputs.channel != 'stable'
|
||||
run: npm run version -- --preid "${{ github.event.inputs.channel}}" --yes --no-push preminor
|
||||
run: npm run version -- --preid "${{ github.event.inputs.channel }}" --yes ${{ github.event.inputs.channel != 'stable' && 'preminor' || 'minor' }}
|
||||
|
||||
- name: Lerna version (stable)
|
||||
if: github.event.inputs.channel == 'stable'
|
||||
run: npm run version -- --yes --no-push minor
|
||||
- name: Commit
|
||||
run: git commit -am "Bump app version to ${{ env.RELEASE_VERSION }} and lerna package versions"
|
||||
|
||||
- name: Push changes
|
||||
run: |
|
||||
|
19
lerna.json
19
lerna.json
@ -1,15 +1,20 @@
|
||||
{
|
||||
"tagVersionPrefix": "lib@",
|
||||
"version": "2.6.0-beta.0",
|
||||
"includeMergedTags": true,
|
||||
"command": {
|
||||
"version": {
|
||||
"message": "version packages %s"
|
||||
}
|
||||
},
|
||||
"packages": [
|
||||
"packages/*",
|
||||
"plugins/*",
|
||||
"packages/insomnia-app/build"
|
||||
]
|
||||
],
|
||||
"command": {
|
||||
"version": {
|
||||
"exact": true,
|
||||
"forcePublish": true,
|
||||
"gitTagVersion": false,
|
||||
"push": false
|
||||
},
|
||||
"publish": {
|
||||
"verifyAccess": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -17,8 +17,8 @@
|
||||
"lint:fix": "lerna run lint:fix --stream --no-bail",
|
||||
"bootstrap": "npm install && lerna bootstrap && lerna run --stream bootstrap",
|
||||
"bootstrap:electron-builder": "lerna bootstrap --no-ci -- --production --no-optional",
|
||||
"version": "lerna version --exact --force-publish",
|
||||
"publish": "lerna publish from-git --no-verify-access",
|
||||
"version": "lerna version",
|
||||
"publish": "lerna publish from-package",
|
||||
"clean": "lerna run clean --parallel --stream && lerna clean --yes && rimraf node_modules",
|
||||
"test": "lerna run --stream --parallel test",
|
||||
"inso-start": "npm start --prefix packages/insomnia-inso",
|
||||
|
Loading…
Reference in New Issue
Block a user