Compare commits

...

2 Commits

Author SHA1 Message Date
a9599c0b61 chore: update changelog
All checks were successful
Cadoles/mktools/pipeline/head This commit looks good
2023-11-15 11:28:01 +01:00
6028362078 fix(install): correctly inject tools dir into gitignore 2023-11-15 11:28:01 +01:00
2 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,17 @@
<a name="unreleased"></a>
## [Unreleased]
### Bug Fixes
- **install:** correctly inject tools dir into gitignore
### Documentation
- **tutorials:** fix obsolete link
<a name="2023.8.25-stable.1621.af9c7e6"></a>
## [2023.8.25-stable.1621.af9c7e6] - 2023-08-25
_Nothing functionally significant._
<a name="2023.8.25-stable.1617.35625f6"></a> <a name="2023.8.25-stable.1617.35625f6"></a>
## [2023.8.25-stable.1617.35625f6] - 2023-08-25 ## [2023.8.25-stable.1617.35625f6] - 2023-08-25
@ -67,7 +81,8 @@ _Nothing functionally significant._
- initial commit - initial commit
[Unreleased]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1617.35625f6...HEAD [Unreleased]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1621.af9c7e6...HEAD
[2023.8.25-stable.1621.af9c7e6]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1617.35625f6...2023.8.25-stable.1621.af9c7e6
[2023.8.25-stable.1617.35625f6]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1609.4d31268...2023.8.25-stable.1617.35625f6 [2023.8.25-stable.1617.35625f6]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1609.4d31268...2023.8.25-stable.1617.35625f6
[2023.8.25-stable.1609.4d31268]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1606.be97e77...2023.8.25-stable.1609.4d31268 [2023.8.25-stable.1609.4d31268]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1606.be97e77...2023.8.25-stable.1609.4d31268
[2023.8.25-stable.1606.be97e77]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.24-stable.1827.fa2dab5...2023.8.25-stable.1606.be97e77 [2023.8.25-stable.1606.be97e77]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.24-stable.1827.fa2dab5...2023.8.25-stable.1606.be97e77

View File

@ -3,7 +3,7 @@
set -e set -e
TASKS_DIR=".mktools" TASKS_DIR=".mktools"
TASKS_FILES="webdav gitea changelog version checkmake" TASKS="${TASKS:-webdav gitea changelog version checkmake}"
main() { main() {
echo "Creating directory '$TASKS_DIR/'" echo "Creating directory '$TASKS_DIR/'"
@ -11,7 +11,7 @@ main() {
mkdir -p "$TASKS_DIR" mkdir -p "$TASKS_DIR"
# Download each referenced task files in $TASKS_DIR # Download each referenced task files in $TASKS_DIR
for f in $TASKS_FILES; do for f in $TASKS; do
echo "Downloading file '$TASKS_DIR/$f.mk'" echo "Downloading file '$TASKS_DIR/$f.mk'"
curl -qo "$TASKS_DIR/$f.mk" "https://forge.cadoles.com/Cadoles/mktools/raw/branch/master/tasks/$f.mk" curl -qo "$TASKS_DIR/$f.mk" "https://forge.cadoles.com/Cadoles/mktools/raw/branch/master/tasks/$f.mk"
done done
@ -20,7 +20,7 @@ main() {
if [ ! -f .gitignore ]; then if [ ! -f .gitignore ]; then
touch .gitignore touch .gitignore
fi fi
grep -qF -- "$TASKS_DIR/" ".gitignore" || echo "$TASKS_DIR/" >> ".gitignore" grep -qFx -- "$TASKS_DIR/" .gitignore || echo -e "$TASKS_DIR/" >> .gitignore
echo "Done" echo "Done"
} }