File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,22 @@ jobs:
7373 apt -y install curl
7474 # copy to fileserver builds and downloads directories
7575 for dir in "/fileserver-builds/${BUILD_ID}" \
76- "/fileserver-downloads/qcom-deb-images/linux-deb-latest "; do
76+ "/fileserver-downloads/${BUILD_ID} "; do
7777 mkdir -vp "${dir}"
7878 cp -av `dcmd *.changes` "${dir}"
7979 done
80+ # create or update linux-latest symlink
81+ mkdir -vp /fileserver-downloads/qcom-deb-images
82+ (
83+ cd /fileserver-downloads/qcom-deb-images
84+ # remove what used to be a directory and create/update symlink to
85+ # point to latest build
86+ rm -rvf linux-latest
87+ ln -svf "../${BUILD_ID}" linux-latest
88+ )
8089 # perhaps help NFS sync
8190 sync
8291 # instruct fileserver to publish this directory
8392 url="${FILESERVER_URL}/${BUILD_ID}/"
8493 curl -X POST -H 'Accept: text/event-stream' "${url}"
94+
You can’t perform that action at this time.
0 commit comments