From 2d53469d24d592440be72ea9f37d19390ee11500 Mon Sep 17 00:00:00 2001 From: Patrick Hulce Date: Tue, 30 Apr 2019 13:29:52 -0500 Subject: [PATCH 1/2] misc: rename release scripts properly --- .../{publish-clean-pristine.sh => release-clean-pristine.sh} | 0 .../{publish-prepare-commit.sh => release-prepare-commit.sh} | 0 .../{publish-prepare-package.sh => release-prepare-package.sh} | 0 .../{publish-prepare-pristine.sh => release-prepare-pristine.sh} | 0 .../scripts/release/{publish-test.sh => release-test.sh} | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename lighthouse-core/scripts/release/{publish-clean-pristine.sh => release-clean-pristine.sh} (100%) rename lighthouse-core/scripts/release/{publish-prepare-commit.sh => release-prepare-commit.sh} (100%) rename lighthouse-core/scripts/release/{publish-prepare-package.sh => release-prepare-package.sh} (100%) rename lighthouse-core/scripts/release/{publish-prepare-pristine.sh => release-prepare-pristine.sh} (100%) rename lighthouse-core/scripts/release/{publish-test.sh => release-test.sh} (100%) diff --git a/lighthouse-core/scripts/release/publish-clean-pristine.sh b/lighthouse-core/scripts/release/release-clean-pristine.sh similarity index 100% rename from lighthouse-core/scripts/release/publish-clean-pristine.sh rename to lighthouse-core/scripts/release/release-clean-pristine.sh diff --git a/lighthouse-core/scripts/release/publish-prepare-commit.sh b/lighthouse-core/scripts/release/release-prepare-commit.sh similarity index 100% rename from lighthouse-core/scripts/release/publish-prepare-commit.sh rename to lighthouse-core/scripts/release/release-prepare-commit.sh diff --git a/lighthouse-core/scripts/release/publish-prepare-package.sh b/lighthouse-core/scripts/release/release-prepare-package.sh similarity index 100% rename from lighthouse-core/scripts/release/publish-prepare-package.sh rename to lighthouse-core/scripts/release/release-prepare-package.sh diff --git a/lighthouse-core/scripts/release/publish-prepare-pristine.sh b/lighthouse-core/scripts/release/release-prepare-pristine.sh similarity index 100% rename from lighthouse-core/scripts/release/publish-prepare-pristine.sh rename to lighthouse-core/scripts/release/release-prepare-pristine.sh diff --git a/lighthouse-core/scripts/release/publish-test.sh b/lighthouse-core/scripts/release/release-test.sh similarity index 100% rename from lighthouse-core/scripts/release/publish-test.sh rename to lighthouse-core/scripts/release/release-test.sh From f7a13949c0dacfdfd9d6676ddb87bc24c803caa3 Mon Sep 17 00:00:00 2001 From: Patrick Hulce Date: Tue, 30 Apr 2019 14:13:50 -0500 Subject: [PATCH 2/2] remove release- prefix --- docs/releasing.md | 8 ++++---- .../{release-clean-pristine.sh => clean-pristine.sh} | 0 .../{release-prepare-commit.sh => prepare-commit.sh} | 0 .../{release-prepare-package.sh => prepare-package.sh} | 2 +- .../{release-prepare-pristine.sh => prepare-pristine.sh} | 0 .../scripts/release/{release-test.sh => test.sh} | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename lighthouse-core/scripts/release/{release-clean-pristine.sh => clean-pristine.sh} (100%) rename lighthouse-core/scripts/release/{release-prepare-commit.sh => prepare-commit.sh} (100%) rename lighthouse-core/scripts/release/{release-prepare-package.sh => prepare-package.sh} (94%) rename lighthouse-core/scripts/release/{release-prepare-pristine.sh => prepare-pristine.sh} (100%) rename lighthouse-core/scripts/release/{release-test.sh => test.sh} (97%) diff --git a/docs/releasing.md b/docs/releasing.md index a1a026f0ec85..eabdf233dd67 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -32,17 +32,17 @@ We follow [semver](https://semver.org/) versioning semantics (`vMajor.Minor.Patc ```sh # Run the tests -bash ./lighthouse-core/scripts/release/release-test.sh +bash ./lighthouse-core/scripts/release/test.sh # Prepare the commit, replace x.x.x with the desired version -bash ./lighthouse-core/scripts/release/release-prepare-commit.sh x.x.x +bash ./lighthouse-core/scripts/release/prepare-commit.sh x.x.x # Open the PR and await merge... echo "It's been merged! 🎉" # Run the tests again :) -bash ./lighthouse-core/scripts/release/release-test.sh +bash ./lighthouse-core/scripts/release/test.sh # Package everything for publishing -bash ./lighthouse-core/scripts/release/release-prepare-package.sh +bash ./lighthouse-core/scripts/release/prepare-package.sh # Upload the extension node build/build-extension.js package; cd dist/extension-package/ diff --git a/lighthouse-core/scripts/release/release-clean-pristine.sh b/lighthouse-core/scripts/release/clean-pristine.sh similarity index 100% rename from lighthouse-core/scripts/release/release-clean-pristine.sh rename to lighthouse-core/scripts/release/clean-pristine.sh diff --git a/lighthouse-core/scripts/release/release-prepare-commit.sh b/lighthouse-core/scripts/release/prepare-commit.sh similarity index 100% rename from lighthouse-core/scripts/release/release-prepare-commit.sh rename to lighthouse-core/scripts/release/prepare-commit.sh diff --git a/lighthouse-core/scripts/release/release-prepare-package.sh b/lighthouse-core/scripts/release/prepare-package.sh similarity index 94% rename from lighthouse-core/scripts/release/release-prepare-package.sh rename to lighthouse-core/scripts/release/prepare-package.sh index c5398c5d7cbb..ac175968ef42 100755 --- a/lighthouse-core/scripts/release/release-prepare-package.sh +++ b/lighthouse-core/scripts/release/prepare-package.sh @@ -5,7 +5,7 @@ LH_PRISTINE_ROOT="$DIRNAME/../../../../lighthouse-pristine" set -euxo pipefail -bash "$DIRNAME/release-prepare-pristine.sh" +bash "$DIRNAME/prepare-pristine.sh" cd "$LH_PRISTINE_ROOT" diff --git a/lighthouse-core/scripts/release/release-prepare-pristine.sh b/lighthouse-core/scripts/release/prepare-pristine.sh similarity index 100% rename from lighthouse-core/scripts/release/release-prepare-pristine.sh rename to lighthouse-core/scripts/release/prepare-pristine.sh diff --git a/lighthouse-core/scripts/release/release-test.sh b/lighthouse-core/scripts/release/test.sh similarity index 97% rename from lighthouse-core/scripts/release/release-test.sh rename to lighthouse-core/scripts/release/test.sh index 2a5b527653f4..271a083466b4 100755 --- a/lighthouse-core/scripts/release/release-test.sh +++ b/lighthouse-core/scripts/release/test.sh @@ -9,7 +9,7 @@ LH_PRISTINE_ROOT="$DIRNAME/../../../../lighthouse-pristine" set -euxo pipefail -bash "$DIRNAME/release-prepare-pristine.sh" +bash "$DIRNAME/prepare-pristine.sh" cd "$LH_PRISTINE_ROOT"