Skip to content

Commit

Permalink
docker-deb: install and init swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
neolynx committed Oct 2, 2024
1 parent 06cbd29 commit fca153c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/build-deb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ chown -R `stat -c %u /work/src` /var/lib/aptly

su aptly -c 'set -e; cd /work/src;
GOPATH=$PWD/.go go generate -v
# install and initialize swagger
GOPATH=$PWD/.go go install github.com/swaggo/swag/cmd/swag@latest
PATH=$PWD/.go/bin:$PATH swag init
git checkout debian/changelog
DEBEMAIL="CI <runner@github>" dch -v `make version` "CI build"
dpkg-buildpackage -us -uc -b -d
Expand Down

0 comments on commit fca153c

Please sign in to comment.