Skip to content

Commit

Permalink
ci: remove release workflow to use the one that is global (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg committed Jan 22, 2021
1 parent d2f0e92 commit ca866ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 53 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: actions/checkout@v2
- name: Get version from package.json before release step
id: extractver
run: echo "::set-output name=version::$(npm run get-version --silent)"
run: echo "::set-output name=version::$(npm run get:version --silent)"
- name: Get name of package from package.json
id: extractname
run: echo "::set-output name=packname::$(npm run get-name --silent)"
run: echo "::set-output name=packname::$(npm run get:name --silent)"
- if: startsWith(github.event.commits[0].message, 'chore(release):')
name: Bumping latest version of this package in other repositories
uses: derberg/org-projects-dependency-manager@v1
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/release.yml

This file was deleted.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
"scripts": {
"test": "nyc mocha",
"release": "semantic-release",
"get-version": "echo $npm_package_version",
"get-name": "echo $npm_package_name"
"get:version": "echo $npm_package_version",
"get:name": "echo $npm_package_name",
"generate:assets": "echo 'No additional assets need to be generated at the moment'",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit ca866ad

Please sign in to comment.