mirror of
https://github.com/SomboChea/ui
synced 2026-01-17 00:25:50 +07:00
GitHub actions (#32)
* chore: fixes snapshots test * chore: adds github actions, issue and feat templates * chore: fixes eslint * chore: remvoes circle ci and adds publish action * chore: adds github-release automation using actions
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
96b65d969a
commit
4a459df463
8
scripts/github-release.sh
Normal file
8
scripts/github-release.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
# Get the last tag from GitHub
|
||||
lastTag=$(git describe --tags $(git rev-list --tags --max-count=1))
|
||||
|
||||
changelog=$(git show $GITHUB_SHA --unified=0 CHANGELOG.md | tail +12 | sed -e 's/^\+//')
|
||||
|
||||
echo "$changelog"
|
||||
|
||||
echo "$changelog" | node scripts/trigger-release.js $lastTag
|
||||
Reference in New Issue
Block a user