Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
fix(time): Embed IANA timezone database in Windows build
Browse files Browse the repository at this point in the history
Signed-off-by: qwqcode <[email protected]>
  • Loading branch information
qwqcode committed Jun 6, 2022
1 parent ed54720 commit fc69bf7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
# Dependency directories (remove the comment below to include it)
# vendor/

.pnpm-store
/sysroot
node_modules

.vscode/*.log

.history
Expand Down
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ builds:
binary: "{{.ProjectName}}"
main: ./main.go
ldflags: *common_ldflags
flags:
# https://go-review.googlesource.com/c/go/+/224588/
# https://github.com/ArtalkJS/ArtalkGo/issues/35
- -tags=timetzdata

# Darwin (amd_64)
- id: darwin-amd64
Expand Down

1 comment on commit fc69bf7

@qwqcode
Copy link
Member Author

@qwqcode qwqcode commented on fc69bf7 Jun 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed #35

Please sign in to comment.