Skip to content

Commit 60685cb

Browse files
committed
Fix release stage after version changes
1 parent 4233f0e commit 60685cb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci-jobs.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -214,23 +214,23 @@ jobs:
214214
- name: Download samba_exporter package artifact
215215
uses: actions/download-artifact@v4
216216
with:
217-
name: samba_exporter-ubuntu-22.04.deb
217+
name: samba_exporter-ubuntu-24.04.deb
218218
path: .
219219
- name: Download PackageName.txt artifact
220220
uses: actions/download-artifact@v4
221221
with:
222-
name: PackageName-ubuntu-22.04.txt
223-
path: logs/ubuntu-22.04/
222+
name: PackageName-ubuntu-24.04.txt
223+
path: logs/ubuntu-24.04/
224224
- name: Download ShortVersion.txt artifact
225225
uses: actions/download-artifact@v4
226226
with:
227-
name: ShortVersion-ubuntu-22.04.txt
227+
name: ShortVersion-ubuntu-24.04.txt
228228
path: logs/
229229
- name: 'Get needed environment from artifacts'
230230
run: |
231-
packageubuntu2004Name=$(cat logs/ubuntu-22.04/PackageName.txt)
232-
echo "SAMBA_EXPORTER_UBUNTU_2004_PACKAGE_NAME=$packageubuntu2004Name"
233-
echo "SAMBA_EXPORTER_UBUNTU_2004_PACKAGE_NAME=$packageubuntu2004Name" >> $GITHUB_ENV
231+
packageubuntu2404Name=$(cat logs/ubuntu-24.04/PackageName.txt)
232+
echo "SAMBA_EXPORTER_UBUNTU_2004_PACKAGE_NAME=$packageubuntu2404Name"
233+
echo "SAMBA_EXPORTER_UBUNTU_2004_PACKAGE_NAME=$packageubuntu2404Name" >> $GITHUB_ENV
234234
shortVersion=$(cat logs/ShortVersion.txt)
235235
if [ "$GITHUB_REF" == 'refs/heads/main' ]; then
236236
echo "SAMBA_EXPORTER_PRE_RELEASE=true"

0 commit comments

Comments
 (0)