test - 002
This commit is contained in:
@ -99,11 +99,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
current_version=$(cat VERSION)
|
current_version=$(cat VERSION)
|
||||||
new_version=$(echo "$current_version + 1" | bc)
|
new_version=$(echo "$current_version + 1" | bc)
|
||||||
echo "$new_version" > VERSION
|
echo "$current_version" > VERSION
|
||||||
git config user.name 'Gitea Actions'
|
git config user.name 'Gitea Actions'
|
||||||
git config user.email 'actions@gitea.io'
|
git config user.email 'actions@gitea.io'
|
||||||
git add VERSION
|
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
|
- name: Fusionner dans main
|
||||||
if: success()
|
if: success()
|
||||||
|
Reference in New Issue
Block a user