Skip to content

Commit

Permalink
Merge pull request #68 from reubenmiller/fix-doc-snapshot-workflow
Browse files Browse the repository at this point in the history
fix(ci): publish branch in snapshot workflow
  • Loading branch information
reubenmiller authored Feb 13, 2024
2 parents c5741b8 + deab671 commit 4b21c68
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
type: string
required: false
jobs:
release:
snapshot:
runs-on: ubuntu-latest
env:
VERSION: ${{inputs.version}}
Expand All @@ -23,7 +23,8 @@ jobs:
with:
persist-credentials: false
- uses: extractions/setup-just@v1
- run: |
- name: Create snapshot
run: |
git config --global user.email "info@thin-edge.io"
git config --global user.name "Versioneer"
git checkout -b "$PR_BRANCH"
Expand All @@ -34,7 +35,7 @@ jobs:
just checkout-version "$VERSION" "${{inputs.branch}}"
git commit -am "Backporting snapshot for version $VERSION on branch"
fi
git push origin
git push --set-upstream origin release-1.0.0
- name: create pull request
run: gh pr create -B main -H "$PR_BRANCH" --title "create snapshot for version $VERSION" --body "Release $VERSION"
env:
Expand Down

0 comments on commit 4b21c68

Please sign in to comment.