From 7e0066b55dd81fe30ad20bdad5c9012a848ea322 Mon Sep 17 00:00:00 2001 From: Janos Miko Date: Wed, 8 Mar 2023 17:00:29 +0100 Subject: [PATCH] fix an issue with pwa-studio shell container --- CHANGELOG.md | 6 ++++++ VERSION.txt | 2 +- cmd/shell/shell.go | 2 +- sonar-project.properties | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c7fa461..3ec5b4ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.5] - 2023-03-08 + +### Fixed + +- Fix an issue with the default shell container of PWA-Studio environment. + ## [0.4.4] - 2023-03-08 ### Fixed diff --git a/VERSION.txt b/VERSION.txt index 5ab76976..04a04894 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -v0.4.4 \ No newline at end of file +v0.4.5 \ No newline at end of file diff --git a/cmd/shell/shell.go b/cmd/shell/shell.go index c42eb741..f77c8aa8 100644 --- a/cmd/shell/shell.go +++ b/cmd/shell/shell.go @@ -33,7 +33,7 @@ func NewCmdShell(conf *config.Config) *cmdpkg.Command { Config: conf, } - cmd.Flags().StringVar(&conf.ShellContainer, "container", "php-fpm", "the container you want to get in") + cmd.Flags().StringVar(&conf.ShellContainer, "container", "", "the container you want to get in") _ = cmd.Config.BindPFlag(fmt.Sprintf("%s_shell_container", conf.AppName()), cmd.Flags().Lookup("container")) cmd.Flags().StringVar(&conf.DefaultShellCommand, "command", "", "the container you want to get in") diff --git a/sonar-project.properties b/sonar-project.properties index 451fd40a..333aba94 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,7 +3,7 @@ sonar.organization=rewardenv # This is the name and version displayed in the SonarCloud UI. sonar.projectName=reward -sonar.projectVersion=0.4.4 +sonar.projectVersion=0.4.5 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. #sonar.sources=.