Skip to content

Commit

Permalink
feat: add whats-new script
Browse files Browse the repository at this point in the history
  • Loading branch information
horacioh committed Sep 16, 2023
1 parent d24af7c commit 235df6c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,7 @@ thumbs.db
/playwright/.cache/
.mtt-test

_env.scss
_env.scss

# changelog file
whats-new.txt
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"**/*.env": true,
".git/**": true
},

"spellright.ignoreFiles": [
"**/.gitignore",
"**/.spellignore",
"whats-new.txt"
],
"files.watcherExclude": {
".bazel/**": true,
"plz-out/**": true,
Expand Down
16 changes: 16 additions & 0 deletions scripts/whats-new.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

# Check if tag parameter is provided
if [ $# -eq 0 ]; then
echo "Error: Please provide a tag name as a parameter."
exit 1
fi

# Get the tag name from the parameter
tag_name=$1

# Pull the latest changes
git pull origin master

# List commits after the specified tag
git log $tag_name..HEAD > whats-new.md

0 comments on commit 235df6c

Please sign in to comment.