Skip to content

Commit

Permalink
Merge pull request #307 from JuliaTime/ed/fix-gmt
Browse files Browse the repository at this point in the history
Ensure CUSTOM_REGIONS get compiled
  • Loading branch information
iamed2 committed Nov 18, 2020
2 parents a7f73ff + 06fccaa commit e3ab43d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TimeZones"
uuid = "f269a46b-ccf7-5d73-abea-4c690281aa53"
authors = ["Curtis Vogt <curtis.vogt@gmail.com>"]
version = "1.5.0"
version = "1.5.1"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
4 changes: 2 additions & 2 deletions src/tzdata/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function build(

if !isempty(tz_source_dir)
@info "Installing $version tzdata region data"
regions = intersect(regions, readdir(artifact_dir))
regions = union!(intersect(regions, readdir(artifact_dir)), CUSTOM_REGIONS)
for region in setdiff(regions, CUSTOM_REGIONS)
cp(joinpath(artifact_dir, region), joinpath(tz_source_dir, region), force=true)
end
Expand Down Expand Up @@ -87,7 +87,7 @@ function build(

if !isempty(tz_source_dir)
@info "Extracting $version tzdata archive"
regions = intersect(regions, readarchive(archive))
regions = union!(intersect(regions, readarchive(archive)), CUSTOM_REGIONS)
extract(archive, tz_source_dir, setdiff(regions, CUSTOM_REGIONS), verbose=verbose)
end
end
Expand Down

4 comments on commit e3ab43d

@iamed2
Copy link
Member Author

@iamed2 iamed2 commented on e3ab43d Nov 18, 2020

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Error while trying to register: Register Failed
@iamed2, it looks like you are not a publicly listed member/owner in the parent organization (JuliaTime).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

@iamed2
Copy link
Member Author

@iamed2 iamed2 commented on e3ab43d Nov 18, 2020

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/24905

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.5.1 -m "<description of version>" e3ab43d368fde8a281a22e484b807e8ef4bf99a4
git push origin v1.5.1

Please sign in to comment.