mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-07-05 03:54:46 +00:00
fixup! Merge pull request #22 from lukaszraczylo/add-branch-support
This commit is contained in:
@@ -16,8 +16,6 @@ limitations under the License.
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -44,7 +42,6 @@ func (r *Setup) setupCobra() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
r.RepositoryBranch, err = rootCmd.Flags().GetString("branch")
|
r.RepositoryBranch, err = rootCmd.Flags().GetString("branch")
|
||||||
fmt.Println(">>> branch", r.RepositoryBranch)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user