Skip to content

Conversation

kenchan0130
Copy link

@Songmu
Copy link
Owner

Songmu commented May 15, 2025

I see. Sorry for my stupid fix.
I'll merge it later.

But, actually the Tagpr won't replace multiple version numbers but just one version in a file. I'll handle it later.

@Songmu Songmu merged commit 745a849 into Songmu:main May 15, 2025
3 checks passed
@kenchan0130
Copy link
Author

@Songmu
I apologize I had an incorrect understanding tagpr specs.

The following would result in only one line:

inputs:
  version:
    description: "A version to install tagpr"
    required: false

runs:
  using: "composite"
  steps:
  - name: tagpr
    id: tagpr
    run: |
      cd "${GITHUB_WORKSPACE}" || exit 1
      TEMP_PATH="$(mktemp -d)"
      PATH="${TEMP_PATH}:$PATH"
      curl -sfL "https://raw.githubusercontent.com/Songmu/tagpr/${ACTION_VERSION}/install.sh" | sh -s -- -b "$TEMP_PATH" "${{ inputs.version || env.ACTION_VERSION }}" 2>&1
      tagpr
    shell: bash
    env:
      TAGPR_CONFIG_FILE: ${{ inputs.config }}
      ACTION_VERSION: "v1.6.0"

@Songmu
Copy link
Owner

Songmu commented May 15, 2025

Don't apologize. It is due to just an undocumented and ambiguous behavior.

Thank you for the suggestion fix.

@Songmu
Copy link
Owner

Songmu commented May 15, 2025

fixed at #206 in a clumsy and simple way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants