Code Monkey home page Code Monkey logo

Comments (2)

chriswalz avatar chriswalz commented on June 12, 2024 1

This issue should is now fixed in version v1.0.2. Please let me know if you're still having problems. Also, consider donating if you're enjoying using Bit :)

use bit update

from bit.

lepinkainen avatar lepinkainen commented on June 12, 2024

Same issue here, repo with no tags. MacOS Big Sur with latest versions of everything.

> bit release bump
runtime error: slice bounds out of range [:-1]
goroutine 1 [running]:
runtime/debug.Stack(0x185a980, 0xc0000b0008, 0xc0003432e0)
	runtime/debug/stack.go:24 +0x9f
github.com/chriswalz/bit/cmd.HandleExit()
	github.com/chriswalz/bit/cmd/util.go:320 +0xd9
panic(0x17680e0, 0xc0000261e0)
	runtime/panic.go:969 +0x1b9
github.com/chriswalz/bit/cmd.GenBumpedSemVersion(0xc0001d8700, 0xc000343640)
	github.com/chriswalz/bit/cmd/util.go:122 +0x2ae
github.com/chriswalz/bit/cmd.glob..func6(0x1b7f180, 0xc000510140, 0x1, 0x1)
	github.com/chriswalz/bit/cmd/release.go:17 +0x1c5
github.com/spf13/cobra.(*Command).execute(0x1b7f180, 0xc000510110, 0x1, 0x1, 0x1b7f180, 0xc000510110)
	github.com/spf13/[email protected]/command.go:854 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0x1b7f960, 0xc00040ca80, 0x17ac249, 0x7)
	github.com/spf13/[email protected]/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/[email protected]/command.go:895
github.com/chriswalz/bit/cmd.glob..func1(0x1b7f960, 0x1bb70e8, 0x0, 0x0)
	github.com/chriswalz/bit/cmd/bit_cmd.go:47 +0x21a
github.com/spf13/cobra.(*Command).execute(0x1b7f960, 0xc0000981b0, 0x0, 0x0, 0x1b7f960, 0xc0000981b0)
	github.com/spf13/[email protected]/command.go:854 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0x1b7f960, 0x600, 0x0, 0x0)
	github.com/spf13/[email protected]/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/[email protected]/command.go:895
github.com/chriswalz/bit/cmd.Execute()
	github.com/chriswalz/bit/cmd/bit_cmd.go:58 +0x31
main.bitcli(...)
	github.com/chriswalz/bit/main.go:78
main.main()
	github.com/chriswalz/bit/main.go:66 +0x96a

OS: darwin amd64
bit version v1.0.1
git version 2.24.3 (Apple Git-128)

from bit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.