Skip to content

Commit

Permalink
chore: merge release-v0.9.15 into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Oct 19, 2024
2 parents d6259a9 + 6599176 commit a45ddd5
Show file tree
Hide file tree
Showing 9 changed files with 624 additions and 253 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"bungcip.better-toml",
"christian-kohler.path-intellisense",
"dbaeumer.vscode-eslint",
"fill-labs.dependi",
"foxundermoon.shell-format",
"gruntfuggly.todo-tree",
"meganrogge.template-string-converter",
"mutantdino.resourcemonitor",
"redhat.vscode-yaml",
"tamasfe.even-better-toml",
"timonwong.shellcheck",
"vue.volar",
"yoavbls.pretty-ts-errors"
Expand Down
9 changes: 8 additions & 1 deletion .eslintrc-auto-import.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@
"ExtractDefaultPropTypes": true,
"ExtractPropTypes": true,
"ExtractPublicPropTypes": true,
"WritableComputedRef": true
"WritableComputedRef": true,
"DirectiveBinding": true,
"MaybeRef": true,
"MaybeRefOrGetter": true,
"onWatcherCleanup": true,
"useId": true,
"useModel": true,
"useTemplateRef": true
}
}
10 changes: 7 additions & 3 deletions .github/release-body.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
### 2024-09-06
### 2024-10-19

### Chores
+ GitHub workflow dependency, [9006b7e41684509d9c3af4e4b6eefa4f10bb8746]
+ dependencies updated, [42ae3483d1100320799ea014d20b835bfae1b2a6]
+ dependencies updated, [16d38bdb8354d04708d40473b5f8269d812af4a9]
+ .devcontainer updated, [031dc2d74841ef5c8e0725b42fe773858f43d0b5]
+ create_release.sh updated, [e070fe33d48e4b01ae10a81a80868893393dc845], [5750ca9744608d8a8b45d9c073910ca7efabd78b]

### Fixes
+ vite.config css, [bb1d75e87562207283934280cd683631ae2c71ab]

see <a href='https://github.com/mrjackwills/leafcast_vue/blob/main/CHANGELOG.md'>CHANGELOG.md</a> for more details
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# <a href='https://github.com/mrjackwills/leafcast_vue/releases/tag/v0.9.15'>v0.9.15</a>
### 2024-10-19

### Chores
+ dependencies updated, [16d38bdb](https://github.com/mrjackwills/leafcast_vue/commit/16d38bdb8354d04708d40473b5f8269d812af4a9)
+ .devcontainer updated, [031dc2d7](https://github.com/mrjackwills/leafcast_vue/commit/031dc2d74841ef5c8e0725b42fe773858f43d0b5)
+ create_release.sh updated, [e070fe33](https://github.com/mrjackwills/leafcast_vue/commit/e070fe33d48e4b01ae10a81a80868893393dc845), [5750ca97](https://github.com/mrjackwills/leafcast_vue/commit/5750ca9744608d8a8b45d9c073910ca7efabd78b)

### Fixes
+ vite.config css, [bb1d75e8](https://github.com/mrjackwills/leafcast_vue/commit/bb1d75e87562207283934280cd683631ae2c71ab)

# <a href='https://github.com/mrjackwills/leafcast_vue/releases/tag/v0.9.14'>v0.9.14</a>
### 2024-09-06

Expand Down
27 changes: 17 additions & 10 deletions create_release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

# Vue release
# v0.2.0
# v0.3.0
# 2024-10-19

PACKAGE_NAME='leafcast_vue_site'

Expand Down Expand Up @@ -30,14 +31,22 @@ then
fi

# $1 string - question to ask
ask_yn () {
printf "%b%s? [y/N]:%b " "${GREEN}" "$1" "${RESET}"
# Ask a yes no question, only accepts `y` or `n` as a valid answer, returns 0 for yes, 1 for no
ask_yn() {
while true; do
printf "\n%b%s? [y/N]:%b " "${GREEN}" "$1" "${RESET}"
read -r answer
if [[ "$answer" == "y" ]]; then
return 0
elif [[ "$answer" == "n" ]]; then
return 1
else
echo -e "${RED}\nPlease enter 'y' or 'n'${RESET}"
fi
done
}

ask_continue () {
ask_yn "continue"
if [[ ! "$(user_input)" =~ ^y$ ]]
then
if ! ask_yn "continue"; then
exit
fi
}
Expand Down Expand Up @@ -102,9 +111,7 @@ ask_changelog_update() {
RELEASE_BODY_TEXT=$(sed '/# <a href=/Q' CHANGELOG.md)
printf "%s" "$RELEASE_BODY_TEXT"
printf "\n%s\n" "${STAR_LINE}"
ask_yn "accept release body"
if [[ "$(user_input)" =~ ^y$ ]]
then
if ask_yn "accept release body"; then
update_release_body_and_changelog "$RELEASE_BODY_TEXT"
else
exit
Expand Down
Loading

0 comments on commit a45ddd5

Please sign in to comment.