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