Jigsaw-Code / outline-server

Outline Server, developed by Jigsaw. The Outline Server is a proxy server that runs a Shadowsocks instance and provides a REST API for access key management.
https://getoutline.org/
Apache License 2.0
5.79k stars 780 forks source link

fix(server): fix version parsing #1586

Closed sbruens closed 3 weeks ago

sbruens commented 1 month ago

1535 changed how we build the Shadowbox server image. Nothing is setting the SB_VERSION environment variable that the webpack config parses to determine the server's version.

task shadowbox:docker:start IMAGE_VERSION="1.1.1"

This now sets the correct version again:

curl --insecure https://[::]:8081/TestApiPrefix/server | jq
{
   ...
  "version": "1.1.1",
   ...
}