mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-10 07:26:48 +02:00
🔥 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:
parent
986b59fb2f
commit
7f9214daa1
4 changed files with 45 additions and 2419 deletions
|
@ -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 🚀***"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue