Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 committed Jul 26, 2023
1 parent c2ffb04 commit 0250c78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openshift/release/create-release-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ set -e # Exit immediately on error.
release=$1

# Set upstream release without "v" prefix. e.g. release-v1.11 => release-1.11
upstream_release=release-${release#"release-v"}
upstream_release=release-"${release#"release-v"}"

# Fetch the latest upstream and checkout the new branch.
git fetch upstream ${upstream_release}
git checkout upstream/${upstream_release}
git fetch upstream "${upstream_release}"
git checkout upstream/"${upstream_release}"

# Copy the openshift extra files from the OPENSHIFT/main branch.
git fetch openshift main
git checkout openshift/main -- openshift OWNERS
git add openshift OWNERS
git commit -m "Add openshift specific files."

openshift/release/download_release_artifacts.sh ${release}
openshift/release/download_release_artifacts.sh "${release}"
git add .
git commit -am ":fire: Generate artifacts."

Expand Down

0 comments on commit 0250c78

Please sign in to comment.