Skip to content

Commit

Permalink
EVEREST-107-wip-pipelines-update
Browse files Browse the repository at this point in the history
  • Loading branch information
oksana-grishchenko committed Jul 12, 2024
1 parent 1a9690c commit 8fc3d41
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,40 +78,32 @@ jobs:
echo "CURRENT_FAST_VERSION=$CURRENT_FAST_VERSION"
cp veneer/everest-operator.yaml veneer/everest-operator-original.yaml
echo "---- start -----"
if [[ $env.IS_RC ]]; then
go run ./tools/ \
--veneer-file veneer/everest-operator-original.yaml \
--version-type ${{ env.RELEASE_TYPE }} \
--channel fast-v0 \
--new-version ${{ env.VERSION }} \
--current-version "$CURRENT_FAST_VERSION" \
\
>| veneer/everest-operator.yaml
--current-version "$CURRENT_FAST_VERSION"
else
go run ./tools/ \
--veneer-file veneer/everest-operator-original.yaml \
--version-type ${{ env.RELEASE_TYPE }} \
--channel stable-v0 \
--new-version ${{ env.VERSION }} \
--current-version "$CURRENT_STABLE_VERSION" \
\
>| veneer/everest-operator.yaml
--current-version "$CURRENT_STABLE_VERSION"
echo "---------"
go run ./tools/ \
--veneer-file veneer/everest-operator-original.yaml \
--version-type ${{ env.RELEASE_TYPE }} \
--channel fast-v0 \
--new-version ${{ env.VERSION }} \
--current-version "$CURRENT_FAST_VERSION" \
\
>| veneer/everest-operator.yaml
--current-version "$CURRENT_FAST_VERSION"
fi
echo "---- end -----"
rm -f veneer/everest-operator-original.yaml
git add .
git diff
# curl -Lo /tmp/opm https://github.com/operator-framework/operator-registry/releases/latest/download/${OS}-${ARCH}-opm
# chmod +x /tmp/opm
Expand Down

0 comments on commit 8fc3d41

Please sign in to comment.