Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick Change to Script to test Automation #316

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/main.yml
Expand Up @@ -30,14 +30,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_API_TAGGING: false # uses git cli

# auto releases is not working atm and is deleting releases due branch tags
- name: automatic-draft-release
uses: marvinpinto/action-automatic-releases@v1.2.1
- name: automatic-release
uses: softprops/action-gh-release@v2.0.0
with:
draft: true
repo_token: ${{ secrets.GITHUB_TOKEN }}
title: "${{ steps.tag.outputs.tag }}: [title-edit-me] by:${{ github.actor }}"
automatic_release_tag: ${{ steps.tag.outputs.new_tag }}
# draft: true # Can uncomment this if you want to keep it a draft, but I find it more useful to auto-publish the release on each PR merge.
token: ${{ secrets.GITHUB_TOKEN }}
# name: "${{ steps.tag.outputs.tag }}: [title-edit-me] by:${{ github.actor }}" # Uncomment if you go the draft route, otherwise it defaults to the tag name (i.e. 1.67.0)
tag_name: ${{ steps.tag.outputs.new_tag }}
generate_release_notes: true
prerelease: false

- name: version-tag-major
env:
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Expand Up @@ -125,6 +125,7 @@ then
fi

# get current commit hash for tag
# Quick comment to test workflow
tag_commit=$(git rev-list -n 1 "$tag" || true )
# get current commit hash
commit=$(git rev-parse HEAD)
Expand Down