commit af712c1670a1df4f6eb58426ad53922cadc31806 Author: Bryce Thorup Date: Mon Jan 1 10:55:15 2024 -0700 a diff --git a/README.md b/README.md new file mode 100644 index 0000000..0183470 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# versioned_release + +gitea action for creating a version tag when the `version` value in `package.json` has changed and a tag with the version number does not already exist. \ No newline at end of file diff --git a/action.sh b/action.sh new file mode 100755 index 0000000..d7aacca --- /dev/null +++ b/action.sh @@ -0,0 +1 @@ +echo $NPM_REPO_KEY \ No newline at end of file diff --git a/action.yaml b/action.yaml new file mode 100644 index 0000000..ea99eee --- /dev/null +++ b/action.yaml @@ -0,0 +1,8 @@ +name: npm-publish +description: "publishes latest version tag to a npm repository" +author: "Bryce Thorup" +runs: + using: "composite" + steps: + - run: $GITHUB_ACTION_PATH/action.sh + shell: bash