Skip to content

Commit

Permalink
Merge pull request #11 from marcpinet/ci-bump-version-to-5.0.0
Browse files Browse the repository at this point in the history
ci: bump version to 5.0.0 and fixed release worflow
  • Loading branch information
marcpinet authored Nov 14, 2023
2 parents 43ea5a5 + c2d1ead commit 0f939b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,11 @@ jobs:
run: |
NEW_TAG="v${{ steps.get_version.outputs.VERSION }}"
LAST_TAG=${{ steps.get_last_tag.outputs.LAST_TAG }}
RELEASE_NOTES=$(git log $LAST_TAG...$NEW_TAG --pretty=format:"- %s" --reverse)
echo "RELEASE_NOTES=$RELEASE_NOTES" >> $GITHUB_OUTPUT
# Get the release notes with newlines escaped
RELEASE_NOTES=$(git log $LAST_TAG...$NEW_TAG --pretty=format:"- %s" --reverse | sed ':a;N;$!ba;s/\n/%0A/g')
echo "RELEASE_NOTES<<EOF" >> $GITHUB_OUTPUT
echo -e "$RELEASE_NOTES" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='neuralnetlib',
version='0.4.1',
version='0.5.0',
author='Marc Pinet',
description='A simple neural network library with only numpy as dependency',
long_description=open('README.md', encoding="utf-8").read(),
Expand Down

0 comments on commit 0f939b7

Please sign in to comment.