🔥 Removing changelog from repo

This is not very useful. We should use release notes on github to keep track of changes instead.
This commit is contained in:
Luke Vella 2023-03-18 12:55:18 +00:00
parent 986b59fb2f
commit 7f9214daa1
4 changed files with 45 additions and 2419 deletions

View file

@ -16,17 +16,11 @@ fi
# Replace the version in the package.json file
sed -i "" "s/\"version\": \".*\"/\"version\": \"$new_version\"/g" package.json
# Update the changelog file
yarn changelog:update
# Run prettier on the changelog file
yarn prettier --write CHANGELOG.md
# Commit the changes with a message indicating the new version number
git add package.json CHANGELOG.md
git add package.json
git commit -m "🔖 Release $new_version"
# Tag the commit with the new version number (prefixed with "v")
git tag -a "v$new_version" -m "Tag for version $new_version"
echo "Version in package.json file updated to $new_version, changelog updated, and tagged in Git as v$new_version"
echo "***v$new_version is ready for release 🚀***"