mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
This system provides rules and automatizes (Deno-typescript) the creation of a changelog file to help developers to adapt their code and know what is new with every (pre)release
22 lines
424 B
Bash
Executable File
22 lines
424 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
unamestr=$(uname)
|
|
echo "OS: $unamestr"
|
|
if [[ "$unamestr" == 'Darwin' ]]; then
|
|
rev=$(gdate +%s%N );
|
|
else
|
|
rev=$(date +%s%N );
|
|
fi
|
|
|
|
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )";
|
|
|
|
filename=changes_"$rev".md
|
|
|
|
echo "Insert your changelog here
|
|
|
|
### How to upgrade
|
|
|
|
Add instructions on how to adapt the code to the new changes
|
|
|
|
" > "$CUR_PATH/$filename" && echo "File created: $filename";
|