Skip to content

Errors with swagger on MacOS when running generate-swagger #6468

@richmahn

Description

@richmahn

On MacOS with current master branch of Gitea, if you run "make generate-swagger" you get two problems:

  1. basePath doesn't include {{AppSubUrl}} due to MacOS sed not supporting \s without the -E arg
  2. An EOL marker which doesn't exist if you run this on Linux

This causes the build to fail since drone will have AppSubUrl and no EOL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/buildPR changes how Gitea is built, i.e. regarding Docker or the Makefile

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions