File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ jobs:
125125 echo "could not find release for tag $latest_tag"
126126 exit 1
127127 fi
128+ git checkout ci-release
129+ ls -la
128130 TAG_NAME="$latest_tag" ./.github/workflows/scripts/upload-packages.sh
129131
130132 rpm :
@@ -280,16 +282,24 @@ jobs:
280282 git tag -f ci-latest HEAD && git push -f origin tag ci-latest
281283 TAG_NAME="ci-latest" ./.github/workflows/scripts/upload-packages.sh
282284
285+ - name : Print github ref
286+ env :
287+ REF : ${{ github.ref }}
288+ run : echo "$REF"
289+
283290 - name : Publish RPM packages to GitHub releases (stable)
284291 if : github.ref == 'refs/heads/ci-release'
285292 env :
286293 GH_TOKEN : ${{ github.token }}
287294 IMAGE_NAME : ${{ matrix.image }}
288295 run : |
289296 pwd
297+ ls -la
290298 latest_tag="$(git describe --exact-match --tags)"
291299 if ! gh release view "$latest_tag"; then
292300 echo "could not find release for tag $latest_tag"
293301 exit 1
294302 fi
303+ git checkout ci-release
304+ ls -la
295305 TAG_NAME="$latest_tag" ./.github/workflows/scripts/upload-packages.sh
You can’t perform that action at this time.
0 commit comments