diff --git a/api/bolt/migrator/migrator.go b/api/bolt/migrator/migrator.go index 84f1e27e3..8217dc302 100644 --- a/api/bolt/migrator/migrator.go +++ b/api/bolt/migrator/migrator.go @@ -329,7 +329,7 @@ func (m *Migrator) Migrate() error { } } - // Portainer 2.0 + // Portainer 2.0.0 if m.currentDBVersion < 25 { err := m.updateSettingsToDB25() if err != nil { diff --git a/api/portainer.go b/api/portainer.go index 99ee05c25..e68e0c223 100644 --- a/api/portainer.go +++ b/api/portainer.go @@ -1119,7 +1119,7 @@ type ( const ( // APIVersion is the version number of the Portainer API - APIVersion = "2.0.0-dev" + APIVersion = "2.0.0" // DBVersion is the version number of the Portainer database DBVersion = 25 // AssetsServerURL represents the URL of the Portainer asset server diff --git a/api/swagger.yaml b/api/swagger.yaml index 6a8117eb6..87ba015f4 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -54,7 +54,7 @@ info: **NOTE**: You can find more information on how to query the Docker API in the [Docker official documentation](https://docs.docker.com/engine/api/v1.30/) as well as in [this Portainer example](https://gist.github.com/deviantony/77026d402366b4b43fa5918d41bc42f8). - version: '2.0.0-dev' + version: '2.0.0' title: 'Portainer API' contact: email: 'info@portainer.io' @@ -2976,7 +2976,7 @@ definitions: description: 'Is authentication enabled' Version: type: 'string' - example: '2.0.0-dev' + example: '2.0.0' description: 'Portainer API version' PublicSettingsInspectResponse: type: 'object' diff --git a/api/swagger_config.json b/api/swagger_config.json index a27505b08..240c90d30 100644 --- a/api/swagger_config.json +++ b/api/swagger_config.json @@ -1,5 +1,5 @@ { "packageName": "portainer", - "packageVersion": "2.0.0-dev", + "packageVersion": "2.0.0", "projectName": "portainer" } diff --git a/distribution/portainer.spec b/distribution/portainer.spec index 7fd9e49dd..8d3c6c5fe 100644 --- a/distribution/portainer.spec +++ b/distribution/portainer.spec @@ -1,5 +1,5 @@ Name: portainer -Version: 2.0.0-dev +Version: 2.0.0 Release: 0 License: Zlib Summary: A lightweight docker management UI diff --git a/package.json b/package.json index 1e04feb76..68ee83461 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Portainer.io", "name": "portainer", "homepage": "http://portainer.io", - "version": "2.0.0-dev", + "version": "2.0.0", "repository": { "type": "git", "url": "git@github.com:portainer/portainer.git"