Skip to content

Commit

Permalink
chore: use version pinning flag
Browse files Browse the repository at this point in the history
  • Loading branch information
chase-crumbaugh committed Apr 17, 2024
1 parent 472e2d7 commit 15314c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/actions/runWorkflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package actions

import (
"fmt"
"os"

"github.com/speakeasy-api/sdk-generation-action/internal/configuration"
"github.com/speakeasy-api/sdk-generation-action/internal/git"
Expand All @@ -25,6 +26,9 @@ func RunWorkflow() error {
return err
}

// TODO: remove before ship
os.Setenv("VERSION_PINNING", "true")

pinnedVersion := cli.GetVersion(environment.GetPinnedSpeakeasyVersion())
if pinnedVersion != "latest" {
resolvedVersion = pinnedVersion
Expand Down

0 comments on commit 15314c0

Please sign in to comment.