From 329c402d105620f1290493585264033b8590efea Mon Sep 17 00:00:00 2001 From: miwr Date: Thu, 10 Apr 2025 11:15:02 +0200 Subject: [PATCH] git stash 2 --- .forgejo/workflows/deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index e87e82d..1a944d2 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -43,9 +43,7 @@ jobs: repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" fullrepo=https://${registry}/${repository}.git git init - git stash - git pull ${fullrepo} - git stash pop + # git pull ${fullrepo} npm install @angular/cli npm run lint - name: Update version @@ -60,7 +58,9 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "GitHub Actions Bot" # git checkout -- package-lock.json package.json + git stash git pull + git stash pop jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json git add . git commit -m "Automated update by GitHub Actions"