Skip to content

Commit

Permalink
Merge pull request #4863 from TheThingsNetwork/fix/release
Browse files Browse the repository at this point in the history
Build DLL on release tag
  • Loading branch information
adriansmares authored Nov 12, 2021
2 parents 09f6106 + 41ea812 commit a398e83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ jobs:
- name: Install JS dependencies
run: tools/bin/mage js:deps
timeout-minutes: 5
- name: Build DLLs
run: tools/bin/mage js:buildDll
- name: Build frontend
run: tools/bin/mage js:clean js:build
- name: File versioning
Expand Down
5 changes: 2 additions & 3 deletions pkg/applicationserver/io/mqtt/mqtt.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ type topicAccess struct {
writes [][]string
}

func (c *connection) Connect(ctx context.Context, info *auth.Info) (context.Context, error) {
var err error
func (c *connection) Connect(ctx context.Context, info *auth.Info) (_ context.Context, err error) {
ids := ttnpb.ApplicationIdentifiers{
ApplicationId: info.Username,
}
Expand Down Expand Up @@ -270,7 +269,7 @@ func (c *connection) Connect(ctx context.Context, info *auth.Info) (context.Cont
}
}()

if err = rights.RequireApplication(ctx, ids); err != nil {
if err := rights.RequireApplication(ctx, ids); err != nil {
return nil, err
}

Expand Down

0 comments on commit a398e83

Please sign in to comment.