martinthomson / i-d-template

A template for IETF internet draft git repositories
Other
208 stars 182 forks source link

Publish Github Action Fails #314

Closed SmithSamuelM closed 2 years ago

SmithSamuelM commented 2 years ago

Trying to use the I-D template and attempted my first publish using GitHub release to publish the tag.

The repo is here: https://github.com/WebOfTrust/ietf-said

the draft file name in the repository draft-ssmith-said.md

It instructions for creating the template said to NOT put the version in the file name but the directions for doing the tag say to add the version in the tag name.

The tag name is: draft-ssmith-said-00

apparently this error is the problem:

make[1]: *** No rule to make target 'draft-smith-said-00.xml'. Stop.

Its not clear what to do to fix this. Any suggestions would be helpful.

Got error
Run martinthomson/i-d-template@v1
/usr/bin/docker run --name ghcriomartinthomsonidtemplateactionlatest_4eb0a2 --label e1cc51 --workdir /github/workspace --rm -e INPUT_MAKE -e INPUT_TOKEN -e GITHUB_TOKEN -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/ietf-said/ietf-said":"/github/workspace" ghcr.io/martinthomson/i-d-template-action:latest  "upload"
warning: lib/default-branch.py: correcting the default branch locally:
warning: lib/default-branch.py:     git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
make: '.targets.mk' is up to date.
warning: lib/default-branch.py: correcting the default branch locally:
warning: lib/default-branch.py:     git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
make[1]: Entering directory '/github/workspace'
make[1]: *** No rule to make target 'draft-smith-said-00.xml'.  Stop.
make: *** [lib/upload.mk:29: .draft-smith-said-00.upload] Error 1
make[1]: Leaving directory '/github/workspace'
============================================================================
Warning: A source file for 'draft-smith-said-00' does not exist.
If you applied this tag in error, remove it before adding another tag:
    git tag -d 'draft-smith-said-00'
    git push -f origin ':draft-smith-said-00'
============================================================================
MikeBishop commented 2 years ago

Your filename is draft-ssmith-said, but your tag is draft-smith-said-00. There's an extra s or a missing s, depending on which is intended.

SmithSamuelM commented 2 years ago

Head slap ;) Thanks. Fixed the tag and it worked. https://datatracker.ietf.org/doc/draft-ssmith-said/ https://datatracker.ietf.org/doc/draft-ssmith-said/

On 12 Oct 2021, at 13:36 , Mike Bishop @.***> wrote:

Your filename is draft-smith-said, but your tag is draft-ssmith-said-00. There's an extra s or a missing s, depending on which is intended.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/martinthomson/i-d-template/issues/314#issuecomment-941361594, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAETEPLKUOFFHXTA55NUQ2LUGSE2LANCNFSM5F2Z6VRA.

martinthomson commented 2 years ago

🎉