Skip to content

Commit

Permalink
fix: using new operatorhub repository (redhat-developer#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
secondsun authored Aug 4, 2021
1 parent c4bcb9f commit d1f4c91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ postgresql-operator
.project
.settings
.vscode
community-operators
community-operators-prod
*.iml

12 changes: 6 additions & 6 deletions olm/operatorhub.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Script for manual release to operator hub
## After script finishes please manually

# git clone [email protected]:operator-framework/community-operators.git
git clone [email protected]:redhat-openshift-ecosystem/community-operators-prod.git
VERSION=`cat version`
mkdir ./community-operators/community-operators/rhoas-operator/${VERSION}
cp -Rf ./olm-catalog/rhoas-operator/${VERSION}/manifests ./community-operators/community-operators/rhoas-operator/${VERSION}
cp -Rf ./olm-catalog/rhoas-operator/${VERSION}/metadata ./community-operators/community-operators/rhoas-operator/${VERSION}
mkdir ./community-operators-prod/operators/rhoas-operator/${VERSION}
cp -Rf ./olm-catalog/rhoas-operator/${VERSION}/manifests ./community-operators-prod/operators/rhoas-operator/${VERSION}
cp -Rf ./olm-catalog/rhoas-operator/${VERSION}/metadata ./community-operators-prod/operators/rhoas-operator/${VERSION}

cd ./community-operators && \
cd ./community-operators-prod && \
git checkout -b rhoas-operator-${VERSION} && \
git add --all && \
git commit --signoff -m"chore: update rhoas operator ${VERSION}"
git commit --signoff -m"chore: update rhoas operator ${VERSION}"

0 comments on commit d1f4c91

Please sign in to comment.