new test
This commit is contained in:
parent
ac0ee903b6
commit
6b182e42f1
@ -97,14 +97,14 @@ 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
|
||||
currentversion=$(cat VERSION)
|
||||
# new_version=$(echo "$current_version + 1" | bc)
|
||||
# echo "$new_version" > VERSION
|
||||
echo "$currentversion" > 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 à $currentversion"
|
||||
|
||||
- name: Fusionner dans main
|
||||
if: success()
|
||||
|
Loading…
x
Reference in New Issue
Block a user