Skip to content

Commit

Permalink
Update config.yml, add item to checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
cengels committed Feb 8, 2024
1 parent 5639448 commit 988274e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: cengelsdev
github_username: cengels
repository: https://github.com/cengels/potence
version: 0.6.0
version: 0.6.1
links:
- name: github
url: https://github.com/cengels/potence
Expand Down
24 changes: 17 additions & 7 deletions scripts/checklist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ helpcommand="checklist [-v] [-t] [-l] [-c] [-r] [-d]
Prompts the user to confirm that all the following steps are done before committing to a new release:
1. Bumped version number? (-v)
2. Ran linter? (-l)
3. Tested and uploaded new code coverage? (-c)
4. Updated release notes? (-r)
5. Added documentation? (-d)
6. Added a new tag for the release commit? (-t)
1. Bumped version number in package.json? (-v)
2. Bumped version number in docs/_config.yml? (-v)
3. Added the version under versions.yml? (-v)
4. Ran linter? (-l)
5. Tested and uploaded new code coverage? (-c)
6. Updated release notes? (-r)
7. Added documentation? (-d)
8. Added a new tag for the release commit? (-t)
If no arguments are specified, goes through all checks. Otherwise only goes through the specified checks.
"
Expand Down Expand Up @@ -63,7 +65,15 @@ function ask {
}

if [[ $version = true ]]; then
ask "Did you bump the version number?"
ask "Did you bump the version number in package.json?"
fi

if [[ $version = true ]]; then
ask "Did you bump the version number in docs/_config.yml?"
fi

if [[ $version = true ]]; then
ask "Did you add the version under versions.yml?"
fi

if [[ $linter = true ]]; then
Expand Down

0 comments on commit 988274e

Please sign in to comment.