summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kuryloski <kuryloskip@vmware.com>2021-09-03 15:48:28 +0200
committerPhilip Kuryloski <kuryloskip@vmware.com>2021-09-03 15:48:28 +0200
commite83e223fb51d78e4763d835c3344dea2b11628e3 (patch)
treee5bf83b83adc1b1dd9c6ce604477fd6233b483ba
parent29830c7992756d390371efb319f74243ea543b60 (diff)
downloadrabbitmq-server-git-e83e223fb51d78e4763d835c3344dea2b11628e3.tar.gz
And again update-otp-for-oci.yaml
-rw-r--r--.github/workflows/update-otp-for-oci.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/update-otp-for-oci.yaml b/.github/workflows/update-otp-for-oci.yaml
index 371087cd34..086a0c18d4 100644
--- a/.github/workflows/update-otp-for-oci.yaml
+++ b/.github/workflows/update-otp-for-oci.yaml
@@ -19,7 +19,7 @@ jobs:
steps:
- name: CHECKOUT REPOSITORY
uses: actions/checkout@v2.3.4
- - name: DETERMINE LATEST PATCH and SHA
+ - name: DETERMINE LATEST PATCH & SHA
id: fetch-version
run: |
TAG_NAME=$(curl -s GET https://api.github.com/repos/erlang/otp/tags \
@@ -36,8 +36,9 @@ jobs:
echo " otp -> ${{ steps.fetch-version.outputs.VERSION }}"
echo " otp_sha256 -> ${{ steps.fetch-version.outputs.SHA }}"
- sed -i "s/otp: .*/otp: '${{ steps.fetch-version.outputs.VERSION }}'/" packaging/docker-image/${{ matrix.image_tag_suffix }}.yaml
- sed -i "s/otp_sha256: .*/otp_sha256: ${{ steps.fetch-version.outputs.SHA }}/" packaging/docker-image/${{ matrix.image_tag_suffix }}.yaml
+ FILE=packaging/docker-image/otp-versions/${{ matrix.image_tag_suffix }}.yaml
+ sed -i "s/otp: .*/otp: '${{ steps.fetch-version.outputs.VERSION }}'/" $FILE
+ sed -i "s/otp_sha256: .*/otp_sha256: ${{ steps.fetch-version.outputs.SHA }}/" $FILE
git diff
#! - name: CREATE PULL REQUEST
#! uses: peter-evans/create-pull-request@v3