|
|
@@ -16,6 +16,10 @@ import (
|
|
|
"github.com/porter-dev/porter/internal/registry"
|
|
|
)
|
|
|
|
|
|
+const (
|
|
|
+ updateAppActionVersion = "v0.1.0"
|
|
|
+)
|
|
|
+
|
|
|
// HandleCreateGitAction creates a new Github action in a repository for a given
|
|
|
// release
|
|
|
func (app *App) HandleCreateGitAction(w http.ResponseWriter, r *http.Request) {
|
|
|
@@ -108,7 +112,7 @@ func (app *App) createGitActionFromForm(
|
|
|
}
|
|
|
|
|
|
// convert the form to a git action config
|
|
|
- gitAction, err := form.ToGitActionConfig(app.ServerConf.UpdateAppGHAVersion)
|
|
|
+ gitAction, err := form.ToGitActionConfig(updateAppActionVersion)
|
|
|
|
|
|
if err != nil {
|
|
|
app.handleErrorFormDecoding(err, ErrProjectDecode, w)
|