Skip to content

Commit

Permalink
Merge release/1.0.0-beta.2 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 5, 2021
2 parents 77ba06c + 56d9e90 commit ecb1e0b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 40 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Release
on:
pull_request:
types: [labeled]
push:
branches:
- release/*

jobs:
release:
name: Release
if: github.event.label.name == 'release'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -21,8 +22,13 @@ jobs:
- name: Install dependencies
run: yarn

- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: npx semantic-release --branches "${{ steps.extract_branch.outputs.branch }}"
21 changes: 2 additions & 19 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,26 +1,9 @@
{
"branches": ["master", "develop"],
"dryRun": false,
"ci": false,
"ci": false,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/git",
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@saithodev/semantic-release-backmerge",
{
"branchName": "master",
"plugins": [
[
"@semantic-release/exec",
{
"successCmd": "echo 'Version in master is ${nextRelease.version}' > test.txt && git add test.txt"
}
]
]
}
]
"@semantic-release/release-notes-generator",
]
}
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@
"@commitlint/config-lerna-scopes": "^12.1.1",
"@manypkg/cli": "^0.17.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@saithodev/semantic-release-backmerge": "^1.4.2",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.2.2",
"@semantic-release/release-notes-generator": "^9.0.2",
"@types/graphql": "^14.5.0",
"@types/jest": "^26.0.23",
"@types/jsdom": "^16.2.10",
Expand Down
13 changes: 1 addition & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3552,17 +3552,6 @@
estree-walker "^2.0.1"
picomatch "^2.2.2"

"@saithodev/semantic-release-backmerge@^1.4.2":
version "1.4.2"
resolved "https://registry.yarnpkg.com/@saithodev/semantic-release-backmerge/-/semantic-release-backmerge-1.4.2.tgz#f2800ac23b4a0b49077fe1198d5bf8bbd440e802"
integrity sha512-R7xTeFgNbEMjYZnSyNTpl4iIHaYcmTIEkkEp2bpVupO/Kdmmoq/DP4hnPHci79Jx4P1OuOEVtszryLy0xCfIdw==
dependencies:
"@semantic-release/error" "^2.2.0"
aggregate-error "^3.1.0"
debug "^4.3.1"
execa "^5.0.0"
lodash "^4.17.20"

"@samverschueren/stream-to-observable@^0.3.0":
version "0.3.1"
resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz#a21117b19ee9be70c379ec1877537ef2e1c63301"
Expand Down Expand Up @@ -4930,7 +4919,7 @@ agentkeepalive@^4.1.3:
depd "^1.1.2"
humanize-ms "^1.2.1"

aggregate-error@^3.0.0, aggregate-error@^3.1.0:
aggregate-error@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a"
integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==
Expand Down

0 comments on commit ecb1e0b

Please sign in to comment.