From b0bf07d70e9059b68cd040c78e3b8160d68a12ae Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Fri, 22 Oct 2021 08:41:09 -0700 Subject: [PATCH] Updating the release constraints (#163) * Updating the release constraints * removing the master branch release ci code execution * updating some verbiage (cherry picked from commit 314adeb1645c290f740261c9efa3d19b0e23f116) --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc010767..cb819853 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,9 +11,9 @@ jobs: steps: - name: Branch check run: | - if [[ "$GITHUB_REF" != "refs/heads/rc" ]]; then + if [[ "$GITHUB_REF" != "refs/heads/release" ]]; then echo "===================================" - echo "[!] Can only release from rc branch" + echo "[!] Can only release from the 'release' branch" echo "===================================" exit 1 fi @@ -21,7 +21,7 @@ jobs: - name: Checkout repo uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f with: - ref: rc + ref: release - name: Retrieve Directory Connector release version id: retrieve-version @@ -49,7 +49,7 @@ jobs: with: workflow: build.yml workflow_conclusion: success - branch: rc + branch: release - name: Create release uses: ncipollo/release-action@95215a3cb6e6a1908b3c44e00b4fdb15548b1e09 # v2.8.5