Skip to content

Commit

Permalink
promote-jx-website.sh: Skip empty commits
Browse files Browse the repository at this point in the history
Co-authored-by: Mårten Svantesson <marten.svantesson@ticket.se>
  • Loading branch information
abitrolly and msvticket authored Oct 16, 2024
1 parent c6a08ff commit ca1e077
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit ca1e077

Please sign in to comment.