update pipline
/ build_and_publish (release) Failing after 32s

This commit is contained in:
Christoph Brandau
2025-08-11 17:00:14 +02:00
parent a90e15514b
commit c25bf79427
+4 -2
View File
@@ -32,8 +32,10 @@ jobs:
git config user.name "${{ vars.USERNAME_GIT }}" git config user.name "${{ vars.USERNAME_GIT }}"
git config user.email "${{ vars.EMAIL_GIT }}" git config user.email "${{ vars.EMAIL_GIT }}"
git add package.json git add package.json
git commit -m "Update version to ${{ github.ref_name }}" git commit -m "Update version to ${{ github.ref_name }}" || echo "No changes to commit."
git push origin HEAD:${GITHUB_HEAD_REF:-$(git rev-parse --abbrev-ref HEAD)} BRANCH=$(git for-each-ref --format='%(refname:short)' --contains HEAD refs/remotes/origin | head -n1)
BRANCH=${BRANCH#origin/}
git push origin HEAD:refs/heads/$BRANCH
- name: Publish to Visual Studio Marketplace (Pre-Release) - name: Publish to Visual Studio Marketplace (Pre-Release)
if: ${{ github.event.release.prerelease }} if: ${{ github.event.release.prerelease }}
run: vsce publish --pre-release run: vsce publish --pre-release