This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from ConsenSys/dev
Test release
- Loading branch information
Showing
3 changed files
with
57 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# Git Configuration | ||
git config --local user.email "action@github.com" | ||
git config --local user.name "GitHub Action" | ||
|
||
# Add all changes to Git | ||
git add . | ||
|
||
# Commit changes with provided message | ||
git commit -m "chore(release): release v"$1"" | ||
|
||
# Create a new tag | ||
git tag $1 | ||
|
||
# Push changes and tag to remote repository | ||
git push origin main | ||
git push --tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const version = '1.0.2'; | ||
const { version } = require('../package.json'); | ||
|
||
export default version; |