Compare commits
No commits in common. "6b182e42f13dcf978094197de2e7b0240b2b20bb" and "2aaf6dbf11251dec79fe49bb579cf858ac304211" have entirely different histories.
6b182e42f1
...
2aaf6dbf11
@ -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)
|
cat VERSION
|
||||||
# new_version=$(echo "$current_version + 1" | bc)
|
current_version=$(cat VERSION)
|
||||||
# echo "$new_version" > VERSION
|
new_version=$(echo "$current_version + 1" | bc)
|
||||||
echo "$currentversion" > VERSION
|
echo "$new_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 à $currentversion"
|
git commit -m "Incrémentation automatique de la version à $new_version"
|
||||||
|
|
||||||
- name: Fusionner dans main
|
- name: Fusionner dans main
|
||||||
if: success()
|
if: success()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user