File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 43
43
author_name : AXIM0S
44
44
author_email : axonasif@gmail.com
45
45
message : ' Update version code'
46
- add : ' ./core/version'
46
+ add : ' ./README.md ./ core/version'
Original file line number Diff line number Diff line change 1
- # Introduction [ ![ GearLock] ( https://github.com/AXIM0S/gearlock/workflows/CI/badge.svg )] ( https://github.com/AXIM0S/gearlock/actions ) [ ![ Conventional Commits] ( https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg )] ( https://conventionalcommits.org )
1
+ # Introduction [ ![ GearLock] ( https://github.com/AXIM0S/gearlock/workflows/CI/badge.svg )] ( https://github.com/AXIM0S/gearlock/actions ) [ ![ Version ] ( https://img.shields.io/badge/GearLock-VersionCode-blue.svg )] ( https://raw.githubusercontent.com/AXIM0S/gearlock/main/core/version ) [ ![ Conventional Commits] ( https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg )] ( https://conventionalcommits.org )
2
2
3
3
GearLock is a dynamically written bash program focused in performance with the intension of making modifications in android-x86 easier.
4
4
Original file line number Diff line number Diff line change @@ -492,6 +492,9 @@ SEMVER_REGEX="\
492
492
echo " $( semver bump minor " $CURRENT_VERSION " ) " > " $VERSION_FILE "
493
493
fi
494
494
done
495
+
496
+ # Update version badge on README.md
497
+ sed -i " s|https://img.shields.io/badge/GearLock-.*-blue.svg|https://img.shields.io/badge/GearLock-$( < " $VERSION_FILE " ) -blue.svg|g" " $_execDir /README.md"
495
498
}
496
499
497
500
function gen.conventionalChangelog() {
You can’t perform that action at this time.
0 commit comments