Skip to content

Commit

Permalink
v1.0.51 (#40)
Browse files Browse the repository at this point in the history
* update to github.com/flarco/dbio v0.4.7

* update test workflow
  • Loading branch information
flarco authored Oct 30, 2023
1 parent 35738d3 commit af7cc3b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
workflow_dispatch:
repository_dispatch:
types: [build-test]
push:
branches:
- main

jobs:
build-for-test:
Expand Down
3 changes: 3 additions & 0 deletions cmd/sling/sling.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,9 @@ func init() {
// cliUi.Make().Add()

if telemetry {
if projectID == "" {
projectID = os.Getenv("GITHUB_REPOSITORY_ID")
}
machineID, _ = machineid.ProtectedID("sling")
if projectID != "" {
machineID = g.MD5(projectID) // hashed
Expand Down
4 changes: 0 additions & 4 deletions cmd/sling/sling_logic.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ func init() {
if masterServerURL == "" {
masterServerURL = "https://api.slingdata.io"
}

if projectID == "" {
projectID = os.Getenv("GITHUB_REPOSITORY_ID")
}
}

func processRun(c *g.CliSC) (ok bool, err error) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/c-bata/go-prompt v0.2.6
github.com/denisbrodbeck/machineid v1.0.1
github.com/dustin/go-humanize v1.0.0
github.com/flarco/dbio v0.4.5
github.com/flarco/dbio v0.4.7
github.com/flarco/g v0.1.63
github.com/getsentry/sentry-go v0.11.0
github.com/google/uuid v1.3.0
Expand Down

0 comments on commit af7cc3b

Please sign in to comment.