From 5ad316505e9e3f3ec8ad01db32c954825b874c90 Mon Sep 17 00:00:00 2001 From: Joseph Benden Date: Sat, 8 Dec 2018 14:56:27 -0700 Subject: [PATCH] pkg: Link stable releases using relative symlinks. --- build/pipelines/package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pipelines/package.yaml b/build/pipelines/package.yaml index 54b61c7463..53cf668ea1 100644 --- a/build/pipelines/package.yaml +++ b/build/pipelines/package.yaml @@ -215,7 +215,7 @@ {% set prefix = "{{ www }}/{{ artifacts }}" %} mkdir -p {{ prefix }}/stable chmod 777 {{ prefix }}/stable - ln -sfnd {{ prefix }}/development/{{ commit_id }} {{ prefix }}/stable/{{ exact_tag }} + ( cd {{ prefix }}/stable && ln -sfnd ../development/{{ commit_id }} {{ branch }} ) when: "exact_tag | trim | count > 0" - name: Deploying stable package manifest