Skip to content

Commit

Permalink
Auto CHANGELOG.md preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nmishin committed Jan 10, 2024
1 parent 942a2b5 commit 0c74f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/tofuenv---version
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ done;
#####################

log 'debug' 'Scraping tofuenv version from CHANGELOG.md';
version="$(awk '/^##/{ print $2; exit}' "${TOFUENV_ROOT}/CHANGELOG.md")" \
version="$(awk 'FNR>1 && /^##/{ print $2; exit}' "${TOFUENV_ROOT}/CHANGELOG.md")" \
&& log 'debug' "Found version '${version}' in CHANGELOG.md" \
|| log 'error' 'Failed to scrape version from CHANGELOG.md';

Expand Down

0 comments on commit 0c74f3c

Please sign in to comment.