From c0f2569fb90b35a0e2b043535a5778f437ec86ea Mon Sep 17 00:00:00 2001 From: softprops Date: Fri, 8 Mar 2024 16:16:17 -0500 Subject: [PATCH] remove unused script --- release.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 release.sh diff --git a/release.sh b/release.sh deleted file mode 100755 index e4b1fe4..0000000 --- a/release.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -# actions requires a node_modules dir https://github.com/actions/toolkit/blob/master/docs/javascript-action.md#publish-a-releasesv1-action -# but its recommended not to check these in https://github.com/actions/toolkit/blob/master/docs/action-versioning.md#recommendations -# as such the following hack is how we dill with it - -if [[ $# -ne 1 ]]; then - echo "please pass a release version. i.e. $0 v1" - exit 1 -fi - -git checkout -b releases/$1 # If this branch already exists, omit the -b flag -rm -rf node_modules -sed -i '/node_modules/d' .gitignore # Bash command that removes node_modules from .gitignore -npm install --production -git add node_modules -f .gitignore -git commit -m node_modules -git push origin releases/$1 \ No newline at end of file