Skip to content

Commit

Permalink
Revert to commit that worked yesterdat
Browse files Browse the repository at this point in the history
  • Loading branch information
glennmoy committed Oct 25, 2023
1 parent 71bb53d commit 3dbbece
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/Pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Needed determine tags
persist-credentials: false # Avoid using these credentials as pushing new commits doesn't re-trigger CI jobs
persist-credentials: true
ref: ${{ inputs.commit }}
- name: Check for new Project version
id: project_toml
Expand Down Expand Up @@ -80,17 +80,17 @@ jobs:
msg="Update Artifacts.toml to use ${{ steps.project_toml.outputs.version }} assets"
git checkout --detach
git commit -m "$msg" -- Artifacts.toml
- name: Push Tag
run: |
echo "sha=$(git rev-parse HEAD)" | tee -a "$GITHUB_OUTPUT"
# Push Tag
tag=${{ steps.project_toml.outputs.tag }}
git tag $tag
git tag $tag $(git rev-parse HEAD)
git push origin $tag
- name: Publish Pre-Release
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.DOCUMENTER_KEY }}
with:
prerelease: true
tag: ${{ steps.project_toml.outputs.tag }}
commit: ${{ steps.commit.outputs.sha }}
artifacts: ${{ env.tarballs_dir }}/*.tar.gz
generateReleaseNotes: true

0 comments on commit 3dbbece

Please sign in to comment.