dnote-cli: update to 0.4.6.
This commit is contained in:
parent
f336e81140
commit
f9d68f3de9
|
@ -1,22 +0,0 @@
|
||||||
--- utils/utils.go.bck 2018-02-13 03:06:34.295215926 -0500
|
|
||||||
+++ utils/utils.go 2018-02-13 03:06:52.708205990 -0500
|
|
||||||
@@ -24,7 +24,7 @@
|
|
||||||
|
|
||||||
// GenerateUID returns a uid
|
|
||||||
func GenerateUID() string {
|
|
||||||
- return uuid.NewV4().String()
|
|
||||||
+ return uuid.Must(uuid.NewV4()).String()
|
|
||||||
}
|
|
||||||
|
|
||||||
func GetInput() (string, error) {
|
|
||||||
--- migrate/migrations.go.bck 2018-02-13 03:10:28.827089361 -0500
|
|
||||||
+++ migrate/migrations.go 2018-02-13 03:10:51.090077347 -0500
|
|
||||||
@@ -48,7 +48,7 @@
|
|
||||||
notes := []migrateToV2PostNote{}
|
|
||||||
for _, note := range book {
|
|
||||||
newNote := migrateToV2PostNote{
|
|
||||||
- UUID: uuid.NewV4().String(),
|
|
||||||
+ UUID: uuid.Must(uuid.NewV4()).String(),
|
|
||||||
Content: note.Content,
|
|
||||||
AddedOn: note.AddedOn,
|
|
||||||
EditedOn: 0,
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dnote-cli'
|
# Template file for 'dnote-cli'
|
||||||
pkgname=dnote-cli
|
pkgname=dnote-cli
|
||||||
version=0.4.4
|
version=0.4.6
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="cli-${version}"
|
wrksrc="cli-${version}"
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/dnote-io/cli
|
go_import_path=github.com/dnote-io/cli
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://dnote.io/"
|
homepage="https://dnote.io/"
|
||||||
distfiles="https://github.com/dnote-io/cli/archive/v${version}.tar.gz"
|
distfiles="https://github.com/dnote-io/cli/archive/v${version}.tar.gz"
|
||||||
checksum=6e6cb9a28aeb81f7751e9439fdeafa7eab9d0e5e643b2d569240141a6f860180
|
checksum=3bc307ef57bb209f4c95942cafc0436bbf27d681eb4f9adba75c6ed2c4c17341
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
cd $GOSRCPATH
|
cd $GOSRCPATH
|
||||||
|
|
Loading…
Reference in New Issue