diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2d21eb..0103a13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,7 +123,7 @@ build_archlinux: # Copy license - install -m0644 LICENSE package/archlinux/spaceapi-server/usr/share/licenses/spaceapi-server/LICENSE # Install spaceapi-server into pkgdir - - python setup.py egg_info -d -b +master install --root=package/archlinux/spaceapi-server/ --prefix=/usr --optimize=1 + - python setup.py egg_info -d -b +main install --root=package/archlinux/spaceapi-server/ --prefix=/usr --optimize=1 - cd package/archlinux # Remove spaceapi-server script - rm -rf spaceapi-server/usr/bin diff --git a/README.md b/README.md index 623fde0..df9eb36 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # SpaceAPI Server -[![pipeline status](https://gitlab.com/s3lph/spaceapi-server/badges/master/pipeline.svg)][master] -[![coverage report](https://gitlab.com/s3lph/spaceapi-server/badges/master/coverage.svg)][master] +[![pipeline status](https://gitlab.com/s3lph/spaceapi-server/badges/main/pipeline.svg)][main] +[![coverage report](https://gitlab.com/s3lph/spaceapi-server/badges/main/coverage.svg)][main] A lightweight server for [SpaceAPI][spaceapi] endpoints. Includes support for pluggable templating, so dynamic content, like sensor @@ -303,12 +303,12 @@ state: !lookup_sensor ``` -[master]: https://gitlab.com/s3lph/spaceapi-server/commits/master +[main]: https://gitlab.com/s3lph/spaceapi-server/commits/main [releases]: https://gitlab.com/s3lph/spaceapi-server/-/releases [spaceapi]: https://spaceapi.io/ [pypi-bottle]: https://pypi.org/project/bottle/ [pypi-yaml]: https://pypi.org/project/PyYAML/ -[mit]: https://gitlab.com/s3lph/spaceapi-server/blob/master/LICENSE +[mit]: https://gitlab.com/s3lph/spaceapi-server/blob/main/LICENSE [spaceapi-getting-started]: https://spaceapi.io/getting-started/ [jinja]: https://jinja.palletsprojects.com/ [registry]: https://gitlab.com/s3lph/spaceapi-server/container_registry