Skip to content
Merged
Show file tree
Hide file tree
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
Next Next commit
Fix script paths
  • Loading branch information
mafredri committed Feb 8, 2023
commit da806887e42a5c600fc48b3840bd40d0c0d9fb94
4 changes: 2 additions & 2 deletions scripts/release/generate_release_notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if [[ -z $ref ]]; then
fi

# shellcheck source=scripts/release/check_commit_metadata.sh
source "$SCRIPT_DIR/release/check_commit_metadata.sh" "$old_version" "$ref"
source "$SCRIPT_DIR/check_commit_metadata.sh" "$old_version" "$ref"

# Sort commits by title prefix, then by date, only return sha at the end.
git_log_out="$(git log --no-merges --pretty=format:"%ct %h %s" "$old_version..$ref" | sort -k3,3 -k1,1n | cut -d' ' -f2)"
Expand Down Expand Up @@ -139,7 +139,7 @@ changelog="$(
done
)"

image_tag="$(execrelative ./image_tag.sh --version "$new_version")"
image_tag="$(execrelative ../image_tag.sh --version "$new_version")"

echo -e "## Changelog
$changelog
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/tag_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ ref=$(git rev-parse --short "$ref")

log "Checking commit metadata for changes since $old_version..."
# shellcheck source=scripts/release/check_commit_metadata.sh
source "$SCRIPT_DIR/release/check_commit_metadata.sh" "$old_version" "$ref"
source "$SCRIPT_DIR/check_commit_metadata.sh" "$old_version" "$ref"

if ((COMMIT_METADATA_BREAKING == 1)); then
prev_increment=$increment
Expand Down