From 6c8cbf7f24e2db036e02bfefa0cb686d6c92777f Mon Sep 17 00:00:00 2001 From: Ben Lee Date: Thu, 2 Nov 2023 15:08:52 -0700 Subject: [PATCH] Fix type in release process (#87) --- .github/workflows/release.yaml | 2 +- .github/workflows/release_prep.sh | 2 +- CONTRIBUTING.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9e047d6..4a99423 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,4 +15,4 @@ jobs: uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v5 with: prerelease: false - release_files: roboelectric-bazel-*.tar.gz + release_files: robolectric-bazel-*.tar.gz diff --git a/.github/workflows/release_prep.sh b/.github/workflows/release_prep.sh index 72a514a..617749b 100755 --- a/.github/workflows/release_prep.sh +++ b/.github/workflows/release_prep.sh @@ -8,7 +8,7 @@ readonly TAG=${GITHUB_REF_NAME} # The prefix is chosen to match what GitHub generates for source archives. # This guarantees that users can easily switch from a released artifact to a source archive # with minimal differences in their code (e.g. strip_prefix remains the same) -readonly PREFIX="roboelectric-bazel-${TAG}" +readonly PREFIX="robolectric-bazel-${TAG}" readonly ARCHIVE="${PREFIX}.tar.gz" # NB: configuration for 'git archive' is in /.gitattributes diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 671a2e4..24ec9cf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,7 +3,7 @@ To perform a release, simply tag the commit you wish to release, for example: ``` -roboelectric-bazel$ git fetch -roboelectric-bazel$ git tag 1.2.3 origin/main -roboelectric-bazel$ git push origin 1.2.3 +robolectric-bazel$ git fetch +robolectric-bazel$ git tag 1.2.3 origin/main +robolectric-bazel$ git push origin 1.2.3 ```