Skip to content

Fix Create release on tag / release (push) #67

Closed

Description

@espenhgn

The GitHub action step "Create release on tag / release (push)" fails with:

Run TAG_VERSION="${GITHUB_REF_NAME#v}"
  TAG_VERSION="${GITHUB_REF_NAME#v}"
  python - <<'PY'
  import pathlib
  import os
  
  expected = os.environ["TAG_VERSION"]
  values = {}
  exec(pathlib.Path("version/version.py").read_text(), None, values)
  actual = values["VERSION"]
  
  if actual != expected:
      raise SystemExit(
          f"version/version.py VERSION={actual!r} "
          f"does not match tag {expected!r}"
      )
  PY
  shell: /usr/bin/bash -e {0}
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
  File "<frozen os>", line 685, in __getitem__
KeyError: 'TAG_VERSION'
Error: Process completed with exit code 1.

Activity

  1. Copilot commented on Apr 21, 2026

    Copilot
    Contributor

    The agent encountered an error and was unable to start working on this issue: This may be caused by a repository ruleset violation. See granting bypass permissions for the agent, or please contact support if the issue persists. (Request id: F680:7256E:9FFEDA4:767B728:69E7472C)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions