Skip to content

Commit 6dc6e14

Browse files
committed
Update build-client-deb.yml
1 parent 9b9e06e commit 6dc6e14

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/build-client-deb.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@ jobs:
2626
run: |
2727
git clone https://github.com/bareos/bareos.git bareos-repo
2828
29+
- name: Extract version from VERSION File
30+
id: vars
31+
run: |
32+
VERSION=$(cat VERSION | tr -d ' \n')
33+
echo "VERSION=$VERSION" >> $GITHUB_ENV
34+
2935
- name: Checkout release
3036
working-directory: ./bareos-repo
3137
run: |
3238
git fetch --all
33-
git checkout Release/24.0.4
34-
# Lire la version dans le fichier VERSION
35-
VERSION=$(cat VERSION)
36-
echo "VERSION=$VERSION" >> $GITHUB_ENV
37-
39+
git checkout Release/$VERSION
40+
3841
- name: Prepare debian/changelog
3942
working-directory: ./bareos-repo
4043
run: |

0 commit comments

Comments
 (0)