Skip to content

Commit

Permalink
Merge pull request #164 from tegonal/bugfix/update-version-common-ste…
Browse files Browse the repository at this point in the history
…ps-templates-only-during-release

update issue templates only during release
  • Loading branch information
robstoll authored Mar 13, 2024
2 parents 6ea6191 + f72f649 commit 4ae0639
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/releasing/update-version-common-steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,11 @@ function updateVersionCommonSteps() {
"$additionalPatternParamPatternLong" "$additionalPattern" \
-d "$script"
done

local -r templateDir="$projectsRootDir/./.github/ISSUE_TEMPLATE"
if [[ -d "$templateDir" ]]; then
updateVersionIssueTemplates "$versionParamPatternLong" "$version" -d "$templateDir"
if [[ $forRelease = true ]]; then
local -r templateDir="$projectsRootDir/./.github/ISSUE_TEMPLATE"
if [[ -d "$templateDir" ]]; then
updateVersionIssueTemplates "$versionParamPatternLong" "$version" -d "$templateDir"
fi
fi
}

Expand Down

0 comments on commit 4ae0639

Please sign in to comment.