test
This commit is contained in:
parent
bb78c23a5f
commit
0efd042f77
@ -97,14 +97,13 @@ jobs:
|
||||
- name: Incrémenter le numéro de version
|
||||
if: success()
|
||||
run: |
|
||||
# current_version=$(cat VERSION)
|
||||
VERSION=$(cat VERSION)
|
||||
# new_version=$(echo "$current_version + 1" | bc)
|
||||
# echo "$new_version" > VERSION
|
||||
current_version=$(cat VERSION)
|
||||
new_version=$(echo "$current_version + 1" | bc)
|
||||
echo "$new_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 à $VERSION"
|
||||
git commit -m "Incrémentation automatique de la version à $new_version"
|
||||
|
||||
- name: Fusionner dans main
|
||||
if: success()
|
||||
|
Loading…
x
Reference in New Issue
Block a user