Skip to content

Commit

Permalink
1.0.4 versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
mraineri committed Oct 19, 2020
1 parent 28d2d91 commit 2481856
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [1.0.4] - 2020-10-19
- Many enhancements and fixes over the last year of testing

## [1.0.3] - 2019-03-01
- Added fixes to the plugin that resolves resolution issues when generating multiple CSDL files
- Removed generation of groupings/uses statements, as they're definitions but not resources
Expand Down
34 changes: 34 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/bash

# Collect change log info
CHANGES="## [$1] - $(date +'%Y-%m-%d')"$'\n'
echo "Enter changes:"
while : ; do
read CHANGE
if [ "$CHANGE" = "" ]; then
break
fi

CHANGES="$CHANGES- $CHANGE"$'\n'
done

# Rebase
git checkout master
git fetch && git rebase origin

# Update the change log file
ex CHANGELOG.md <<eof
3 insert
$CHANGES
.
xit
eof

# Commit and push changes
git add CHANGELOG.md
git commit -m "$1 versioning"
git push origin master

# Make new release in GitHub
CHANGES="Changes since last release:"$'\n\n'"$CHANGES"
gh release create $1 -n "$CHANGES"

0 comments on commit 2481856

Please sign in to comment.