From e3e8a9d6007d5f8c63063a3c394b30b27417766a Mon Sep 17 00:00:00 2001 From: Kid <44045911+kidonng@users.noreply.github.com> Date: Fri, 4 Mar 2022 21:30:39 +0800 Subject: [PATCH] Remove no longer used release script --- script/release | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100755 script/release diff --git a/script/release b/script/release deleted file mode 100755 index 4a50ac20e..000000000 --- a/script/release +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -set -x # print commands before execution -set -o errexit # always exit on error -set -o pipefail # honor exit codes when piping -set -o nounset # fail on unset variables - -# clone the repo and fetch new names -git clone https://github.com/zeke/all-the-package-names -cd all-the-package-names -npm run build -npm test - -# bail if no changes are present -[[ `git status --porcelain` ]] || exit - -count=$(cat names.json | wc -l) -git add names.json -git config user.email "zeke@sikelianos.com" -git config user.name "Zeke Sikelianos" -git commit -m "$count package names" -npm version minor -m "bump minor to %s" -npm publish -git push origin master --follow-tags - -# clean up -cd .. -rm -rf all-the-package-names