Compare commits
5 Commits
2aaf6dbf11
...
main
Author | SHA1 | Date | |
---|---|---|---|
d0421fdb64 | |||
0efd042f77 | |||
bb78c23a5f | |||
6b182e42f1 | |||
ac0ee903b6 |
@ -97,14 +97,13 @@ jobs:
|
||||
- name: Incrémenter le numéro de version
|
||||
if: success()
|
||||
run: |
|
||||
cat VERSION
|
||||
current_version=$(cat VERSION)
|
||||
new_version=$(echo "$current_version + 1" | bc)
|
||||
echo "$new_version" > VERSION
|
||||
echo "$current_version" > VERSION
|
||||
git config user.name 'Gitea Actions'
|
||||
git config user.email 'actions@gitea.io'
|
||||
git add VERSION
|
||||
git commit -m "Incrémentation automatique de la version à $new_version"
|
||||
git commit -m "Incrémentation automatique de la version à $current_version"
|
||||
|
||||
- name: Fusionner dans main
|
||||
if: success()
|
||||
|
Reference in New Issue
Block a user