diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index dc9787e3701..35edc270bc4 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -37,14 +37,22 @@ jobs: id: branch-name uses: tj-actions/branch-names@v5.1 - # - name: Check for runtime changes - # env: - # BASE_BRANCH: ${{ github.event.pull_request.base.ref }} - # GITHUB_BRANCH_NAME: ${{ steps.branch-name.outputs.current_branch }} - - # id: check_runtime - # if: contains( github.event.pull_request.labels.*.name, 'needs-benchmarks') - # run: .maintain/check_runtime.sh + - name: Check for runtime changes + env: + BASE_BRANCH: ${{ github.event.pull_request.base.ref }} + GITHUB_BRANCH_NAME: ${{ steps.branch-name.outputs.current_branch }} + + id: check_runtime + if: contains( github.event.pull_request.labels.*.name, 'needs-benchmarks') + run: .maintain/check_runtime.sh + + - uses: EndBug/add-and-commit@v8 + with: + add: 'runtime/picasso' + message: 'Pushing benchmark changes' + push: "true" + new_branch: ${{ steps.branch-name.outputs.current_branch }} + - name: Benchmark Test env: diff --git a/Makefile b/Makefile index d05b7dda3de..e6c8082f3a0 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ REPO=composablefi SERVICE_NAME=composable INSTALL_DIR=docker/ IMAGE_URL:=${REPO}/${SERVICE_NAME} -RELEASE_VERSION:=$(shell git tag --sort=committerdate | grep -E '^[0-9]' | tail -1) +RELEASE_VERSION:=$(shell git tag --sort=committerdate | grep -E '^v[0-9]' | tail -1) CARGO_VERSION:=$(sed -i '' "s|^version =.*|version = "${VERSION}"|" node/Cargo.toml) AUTO_UPDATE:=1