From 024ca3d8aa6528375029f74b00620bdaab0a703b Mon Sep 17 00:00:00 2001 From: Steven Conway Date: Fri, 21 Jun 2024 00:10:22 +1000 Subject: [PATCH] Use a fixed version string --- .github/workflows/verible-ci.yml | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/verible-ci.yml b/.github/workflows/verible-ci.yml index 4503909b1..120ea0413 100644 --- a/.github/workflows/verible-ci.yml +++ b/.github/workflows/verible-ci.yml @@ -525,7 +525,7 @@ jobs: - name: Prepare release run: | - $VERSION = git describe --match=v* + $VERSION = "v0.1_my_master" C:/ProgramData/chocolatey/lib/bazel/bazel.exe run -c opt :install -- "c:/verible-${VERSION}-win64" 7z a "verible-${VERSION}-win64.zip" "c:/verible-${VERSION}-win64" @@ -568,10 +568,10 @@ jobs: git config --local user.email "$BOT_EMAIL" # Create a tag of form v0.0-183-gdf2b162-20191112132344 - TAG="${TAG:-$(git describe --match=v*)}" + TAG="v0.1_my_master" - git tag "$TAG" || true - echo "TAG=$TAG" >> $GITHUB_ENV + # git tag "$TAG" || true + # echo "TAG=$TAG" >> $GITHUB_ENV ls -lah artifact @@ -584,20 +584,20 @@ jobs: overwrite: true file_glob: true - - name: Publish VSCode extension - env: - VSC_MARKETPLACE_TOKEN: ${{ secrets.VSC_MARKETPLACE_TOKEN }} - run: | - cd verilog/tools/ls/vscode - npm install - # install vsce globally - npm install -g @vscode/vsce - - # Patch the JSON file to contain our current git tag+commit - VERSION=$(git describe | sed 's|v\([^-]\+\)-\([[:digit:]]\+\).*|\1.\2|') - sed -i 's|\(.*version.*\): "\([^"]\+\)"|\1: "'${VERSION}'"|g' package.json - sed -i 's|\(.*tag.*\): "\([^"]\+\)"|\1: "'${TAG}'"|g' package.json - vsce publish -p ${VSC_MARKETPLACE_TOKEN} + # - name: Publish VSCode extension + # env: + # VSC_MARKETPLACE_TOKEN: ${{ secrets.VSC_MARKETPLACE_TOKEN }} + # run: | + # cd verilog/tools/ls/vscode + # npm install + # # install vsce globally + # npm install -g @vscode/vsce + + # # Patch the JSON file to contain our current git tag+commit + # VERSION=$(git describe | sed 's|v\([^-]\+\)-\([[:digit:]]\+\).*|\1.\2|') + # sed -i 's|\(.*version.*\): "\([^"]\+\)"|\1: "'${VERSION}'"|g' package.json + # sed -i 's|\(.*tag.*\): "\([^"]\+\)"|\1: "'${TAG}'"|g' package.json + # vsce publish -p ${VSC_MARKETPLACE_TOKEN} GhPages: name: Build and deploy GitHub pages