forked from alvarolorentedev/merge-release
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Various fixes and features (See below)
- fix: Double 'https://' when using a custom registry URL, i.e. for GitHub packages - fix: Remove redundant `git push remote --tags` command in `entrypoint.sh` - docs: Update readme - feat: Add support for a custom list of tags that trigger a major version update - feat: Add support for a custom list of tags that trigger a minor version update - feat: Add an option to disable the git tagging feature - feat: Add a hidden debug option to enable more logging at runtime - feat: Add support for the GitHub Actions inputs (enable using `with` instead of `env`); while keeping backward-compatibility for `env` users - feat: Update node dependencies in `package.json` - feat: Update docker container to use node v20 - feat: Omit the dev dependencies in the docker image - feat: Drop unused `yargs` dependency - feat: Switch `merge-release-run.js` to an ESM module - chore: Put the license text into the `LICENSE` file - chore: Move `package.json` from src to the root of the repo - chore: Setup eslint and remove standard - chore: Added the `.prettierrc` config file - chore: Various cleanup in `entrypoint.sh` - chore: Various cleanup in `merge-release-run.js`
- Loading branch information
Showing
14 changed files
with
1,485 additions
and
3,442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,6 @@ | |
!./README.md | ||
!./entrypoint.sh | ||
!./src | ||
!./src/* | ||
!./src/* | ||
!./package.json | ||
!./package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"arrowParens": "always", | ||
"bracketSpacing": true, | ||
"jsxSingleQuote": false, | ||
"printWidth": 120, | ||
"quoteProps": "as-needed", | ||
"semi": true, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "all" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ISC License | ||
|
||
Copyright 2024 Github-Actions-Community | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,58 @@ | ||
name: 'Merge Release' | ||
description: 'Deploy your package to NPM and Github using semantic versioning' | ||
name: Merge Release | ||
|
||
description: Deploy your package to NPM and Github using semantic versioning | ||
|
||
branding: | ||
icon: 'upload-cloud' | ||
color: 'purple' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
icon: upload-cloud | ||
color: purple | ||
|
||
runs: | ||
using: docker | ||
image: Dockerfile | ||
|
||
inputs: | ||
GITHUB_TOKEN: | ||
description: 'GITHUB_TOKEN' | ||
description: Github token to allow tagging the version. | ||
required: true | ||
NPM_AUTH_TOKEN: | ||
description: 'NPM_AUTH_TOKEN' | ||
description: NPM Auth Token to publish to NPM | ||
required: true | ||
NPM_PRIVATE: | ||
description: 'NPM_PRIVATE' | ||
description: If you wish privately publish your package please ensure you have set this to `true` | ||
required: false | ||
SRC_PACKAGE_DIR: | ||
description: The path where the src package.json is found. Defaults to the root dir. | ||
required: false | ||
DEPLOY_DIR: | ||
description: 'DEPLOY_DIR' | ||
description: The path where the dist `package.json` is to run npm publish. Defaults to the root dir. | ||
required: false | ||
NPM_REGISTRY_URL: | ||
description: 'NPM_REGISTRY_URL' | ||
description: The url of the registry that the package should published to | ||
required: false | ||
GIT_TAG_SUFFIX: | ||
description: 'GIT_TAG_SUFFIX' | ||
DISABLE_GIT_TAG: | ||
description: Set to `true` to disable the git tag feature | ||
required: false | ||
SRC_PACKAGE_DIR: | ||
description: 'SRC_PACKAGE_DIR' | ||
MAJOR_TAGS: | ||
description: A list of commit tags to consider a release as a major release | ||
required: false | ||
MINOR_TAGS: | ||
description: A list of commit tags to consider a release as a minor release | ||
required: false | ||
DEBUG: | ||
description: Enable debug logging | ||
required: false | ||
NPM_CUSTOM_NPMRC: | ||
description: A fully-formed npmrc file | ||
required: false | ||
GIT_TAG_SUFFIX: | ||
description: GIT_TAG_SUFFIX | ||
required: false | ||
GITHUB_SHA: | ||
description: 'GITHUB_SHA' | ||
description: GITHUB_SHA | ||
required: false | ||
GITHUB_ACTOR: | ||
description: 'GITHUB_ACTOR' | ||
description: GITHUB_ACTOR | ||
required: false | ||
GITHUB_REPOSITORY: | ||
description: 'GITHUB_REPOSITORY' | ||
description: GITHUB_REPOSITORY | ||
required: false |
Oops, something went wrong.