Skip to content

Commit

Permalink
fix(release-to-candidate): avoid subtle bug where we change directory…
Browse files Browse the repository at this point in the history
… even when project_root is empty
  • Loading branch information
jnsgruk authored Apr 23, 2024
1 parent 953de29 commit 60e2236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release-to-candidate/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ runs:
manifest="${PWD}/manifest-${arch}.yaml"
cd "$project_root" && git init || exit
cd "${project_root:-$PWD}" && git init || exit
if ! snapcraft remote-build --launchpad-accept-public-upload; then
cat "${name}_${arch}.txt"
Expand Down

0 comments on commit 60e2236

Please sign in to comment.