about summary refs log tree commit diff
path: root/ops/pipelines
diff options
context:
space:
mode:
Diffstat (limited to 'ops/pipelines')
-rw-r--r--ops/pipelines/static-pipeline.yaml6
1 files changed, 1 insertions, 5 deletions
diff --git a/ops/pipelines/static-pipeline.yaml b/ops/pipelines/static-pipeline.yaml
index 7e91a734398f..2261b11b80d0 100644
--- a/ops/pipelines/static-pipeline.yaml
+++ b/ops/pipelines/static-pipeline.yaml
@@ -28,9 +28,5 @@ steps:
   - label: ":git:"
     if: "build.branch == 'refs/heads/canon'"
     command: |
-      readonly REVISION=$(git rev-list --count --first-parent HEAD)
-
       git -c 'credential.helper=/etc/secrets/buildkite-credential-helper' \
-        push origin "HEAD:refs/r/${REVISION}"
-
-      echo "Marked commit as r/${REVISION}"
+        push origin "HEAD:refs/r/$(git rev-list --count --first-parent HEAD)"