Skip to content

Commit

Permalink
Don't create empty Manifest.toml (again) (#426)
Browse files Browse the repository at this point in the history
* manifest2

* bump version

* should fix ref test
  • Loading branch information
cossio authored Sep 3, 2023
1 parent f62c304 commit 367c369
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PkgTemplates"
uuid = "14b8a8f1-9102-5b29-a752-f990bacb7fe1"
authors = ["Chris de Graaf", "Invenia Technical Computing Corporation"]
version = "0.7.43"
version = "0.7.44"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
1 change: 0 additions & 1 deletion src/plugins/git.jl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ function posthook(p::Git, ::Template, pkg_dir::AbstractString)
# Ensure that the manifest exists if it's going to be committed.
manifest = joinpath(pkg_dir, "Manifest.toml")
if p.manifest && !isfile(manifest)
touch(manifest)
with_project(Pkg.update, pkg_dir)
end

Expand Down
4 changes: 4 additions & 0 deletions test/fixtures/WackyOptions/Manifest.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# This file is machine-generated - editing it directly is not advised

julia_version = "1.7.2"
manifest_format = "2.0"

[deps]

2 comments on commit 367c369

@nickrobinson251
Copy link
Collaborator

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/90728

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 v0.7.44 -m "<description of version>" 367c3693f2c11490d74dc8ff30219cb43bc6505a
git push origin v0.7.44

Please sign in to comment.