Skip to content

Commit

Permalink
Update update_plugin.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen Rumney authored Dec 1, 2021
1 parent 632db93 commit 8c45b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ echo "update plugin.yaml"
sed -e "s/PLACEHOLDERVERSION/${GITHUB_REF##*/}/g" .github/plugin_template.yaml > plugin.yaml

git fetch --all
git checkout main
git checkout master
git pull
git config --global user.name "GitHub Actions Build"
git config --global user.email github-action@aquasec.com
git add plugin.yaml
git commit -m "GitHub Actions Build: Update plugin version" || true
git push --set-upstream origin HEAD:main || true
git push --set-upstream origin HEAD:master || true

0 comments on commit 8c45b58

Please sign in to comment.