Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not push empty commits #2831

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
promote-jx-website.sh: Skip empty commits
Co-authored-by: Mårten Svantesson <marten.svantesson@ticket.se>
  • Loading branch information
abitrolly and msvticket committed Oct 23, 2024
commit a6095d30a0776d27705e5a86be65a56b597de565
6 changes: 4 additions & 2 deletions .lighthouse/jenkins-x/release/promote-jx-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ git clone https://github.com/jenkins-x/jx-docs.git

cd jx-docs
sed -i "s/release = \".*\"/release = \"${JX_VERSION}\"/" config.toml
git commit -a -m "chore: upgrade jx version"
git push
if git commit -a -m "chore: upgrade jx version"
then
git push
fi