From fd56d400a60b71501a4a069f37654027bd1755e8 Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Thu, 22 Jan 2026 22:39:56 +0100 Subject: [PATCH] chore: replace CodSpeedHQ/runner with CodSpeedHQ/codspeed --- .github/workflows/bump-runner-version.yml | 6 +++--- CHANGELOG.md | 4 ++-- action.yml | 14 +++++++------- scripts/release.sh | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/bump-runner-version.yml b/.github/workflows/bump-runner-version.yml index 72454f4..4c8d9be 100644 --- a/.github/workflows/bump-runner-version.yml +++ b/.github/workflows/bump-runner-version.yml @@ -27,9 +27,9 @@ jobs: echo "Invalid version" exit 1 fi - # Check that this release exists in the CodSpeedHQ/runner repository - if ! gh release view v${{ github.event.inputs.version }} -R CodSpeedHQ/runner; then - echo "Release ${{ github.event.inputs.version }} does not exist in CodSpeedHQ/runner" + # Check that this release exists in the CodSpeedHQ/codspeed repository + if ! gh release view v${{ github.event.inputs.version }} -R CodSpeedHQ/codspeed; then + echo "Release ${{ github.event.inputs.version }} does not exist in CodSpeedHQ/codspeed" exit 1 fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 5651709..da49bb8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # Changelog -This project is kept in sync with the [CodSpeedHQ/runner](https://github.com/CodSpeedHQ/runner) project. +This project is kept in sync with the [CodSpeedHQ/codspeed](https://github.com/CodSpeedHQ/codspeed) project. -Checkout the [CodSpeedHQ/runner Changelog](https://github.com/CodSpeedHQ/runner/blob/main/CHANGELOG.md) for more details. +Checkout the [CodSpeedHQ/codspeed Changelog](https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md) for more details. diff --git a/action.yml b/action.yml index 346d829..6867b8b 100644 --- a/action.yml +++ b/action.yml @@ -134,25 +134,25 @@ runs: RUNNER_VERSION=$(echo "$RUNNER_VERSION" | sed 's/^v//') fi - # Install the CodSpeedHQ/runner + # Install the runner if [ "$VERSION_TYPE" = "latest" ]; then - curl -fsSL http://github.com/CodSpeedHQ/runner/releases/latest/download/codspeed-runner-installer.sh | bash -s -- --quiet + curl -fsSL http://github.com/CodSpeedHQ/codspeed/releases/latest/download/codspeed-runner-installer.sh | bash -s -- --quiet elif [ "$VERSION_TYPE" = "branch" ]; then # Install from specific branch using cargo source $HOME/.cargo/env - cargo install --locked --git https://github.com/CodSpeedHQ/runner --branch "$RUNNER_VERSION" codspeed-runner + cargo install --locked --git https://github.com/CodSpeedHQ/codspeed --branch "$RUNNER_VERSION" codspeed-runner elif [ "$VERSION_TYPE" = "rev" ]; then # Install from specific commit/rev using cargo source $HOME/.cargo/env - cargo install --locked --git https://github.com/CodSpeedHQ/runner --rev "$RUNNER_VERSION" codspeed-runner + cargo install --locked --git https://github.com/CodSpeedHQ/codspeed --rev "$RUNNER_VERSION" codspeed-runner else # Release version - head_status=$(curl -I -fsSL -w "%{http_code}" -o /dev/null https://github.com/CodSpeedHQ/runner/releases/download/v$RUNNER_VERSION/codspeed-runner-installer.sh) + head_status=$(curl -I -fsSL -w "%{http_code}" -o /dev/null https://github.com/CodSpeedHQ/codspeed/releases/download/v$RUNNER_VERSION/codspeed-runner-installer.sh) if [ "$head_status" -eq 404 ]; then - echo "Error: Version $RUNNER_VERSION is not available in https://github.com/CodSpeedHQ/runner/releases, please a correct version." + echo "Error: Version $RUNNER_VERSION is not available in https://github.com/CodSpeedHQ/codspeed/releases, please a correct version." exit 1 else - curl -fsSL https://github.com/CodSpeedHQ/runner/releases/download/v$RUNNER_VERSION/codspeed-runner-installer.sh | bash -s -- --quiet + curl -fsSL https://github.com/CodSpeedHQ/codspeed/releases/download/v$RUNNER_VERSION/codspeed-runner-installer.sh | bash -s -- --quiet fi fi diff --git a/scripts/release.sh b/scripts/release.sh index 1af40c2..ffc1da3 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -34,9 +34,9 @@ git push origin tag v$NEW_VERSION git push -f origin tag v$MAJOR_VERSION git push --follow-tags -RUNNER_NOTES=$(gh release view v$NEW_VERSION -R CodSpeedHQ/runner --json body | jq -r .body) +RUNNER_NOTES=$(gh release view v$NEW_VERSION -R CodSpeedHQ/codspeed --json body | jq -r .body) RUNNER_NOTES="$RUNNER_NOTES -**Full Runner Changelog**: https://github.com/CodSpeedHQ/runner/blob/main/CHANGELOG.md" +**Full Runner Changelog**: https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md" gh release create v$NEW_VERSION --title "v$NEW_VERSION" --notes "$RUNNER_NOTES" -d