From af712c1670a1df4f6eb58426ad53922cadc31806 Mon Sep 17 00:00:00 2001 From: Bryce Thorup Date: Mon, 1 Jan 2024 10:55:15 -0700 Subject: [PATCH] a --- README.md | 3 +++ action.sh | 1 + action.yaml | 8 ++++++++ 3 files changed, 12 insertions(+) create mode 100644 README.md create mode 100755 action.sh create mode 100644 action.yaml 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