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
|
||||
if: success()
|
||||
run: |
|
||||
currentversion=$(cat VERSION)
|
||||
# new_version=$(echo "$current_version + 1" | bc)
|
||||
# echo "$new_version" > VERSION
|
||||
echo "$currentversion" > VERSION
|
||||
cat 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 à $currentversion"
|
||||
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