Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: anothrNick/github-tag-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.69.0
Choose a base ref
...
head repository: anothrNick/github-tag-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.70.0
Choose a head ref
  • 6 commits
  • 3 files changed
  • 3 contributors

Commits on Jun 26, 2024

  1. Add old_tag Output to the README (#314)

    * Add old_tag output to the readme
    
    * Remove .gitignore, as requested
    gabriel-stackhouse authored Jun 26, 2024
    Copy the full SHA
    5b0f9e4 View commit details

Commits on Jun 27, 2024

  1. Copy the full SHA
    ebf2cb9 View commit details
  2. Use the correct ID

    gabriel-stackhouse committed Jun 27, 2024
    Copy the full SHA
    c092e52 View commit details
  3. Copy the full SHA
    cf38bfd View commit details
  4. Simple comment tweak to trigger the workflow on merge

    gabriel-stackhouse committed Jun 27, 2024
    Copy the full SHA
    5a9c832 View commit details

Commits on Jul 8, 2024

  1. Merge pull request #317 from gabriel-stackhouse/auto-releases

    Fix Auto Releases
    anothrNick authored Jul 8, 2024
    Copy the full SHA
    777684d View commit details
Showing with 8 additions and 8 deletions.
  1. +6 −7 .github/workflows/main.yml
  2. +1 −0 README.md
  3. +1 −1 entrypoint.sh
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -30,14 +30,13 @@ 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 }}
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.tag.outputs.new_tag }}
generate_release_notes: true
prerelease: false

- name: version-tag-major
env:
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -110,6 +110,7 @@ _NOTE: set the fetch-depth for `actions/checkout@v2` or newer to be sure you ret
### Outputs

- **new_tag** - The value of the newly created tag.
- **old_tag** - The value of the last semantic version tag before the version bump. Empty if no version bump is performed.
- **tag** - The value of the latest tag after running this action.
- **part** - The part of version which was bumped.

2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@ matching_pre_tag_refs=$( (grep -E "$preTagFmt" <<< "$git_refs") || true)
tag=$(head -n 1 <<< "$matching_tag_refs")
pre_tag=$(head -n 1 <<< "$matching_pre_tag_refs")

# if there are none, start tags at INITIAL_VERSION
# if there are none, start tags at initial version
if [ -z "$tag" ]
then
if $with_v