change tags list

This commit is contained in:
Jamil Bou Kheir
2022-01-12 17:50:27 -08:00
parent 16d4619c5a
commit f7953b5282

View File

@@ -192,8 +192,8 @@ jobs:
./firezone*.deb
publish-docs:
needs: publish
if: startsWith(github.ref, 'refs/tags/')
# needs: publish
# if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
@@ -204,7 +204,7 @@ jobs:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Write tags manifest
run: |
tags=`git ls-tree --name-only origin/gh-pages | egrep "\d+\.\d+\.\d+"`
tags=`git ls-tree --name-only origin/gh-pages | egrep "^((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)$"`
echo $tags > docs/assets/versions.txt
- name: Build jekyll site
run: |