# Struggling with publishing a package

**URL:** https://discourse.julialang.org/t/struggling-with-publishing-a-package/38952
**Category:** New to Julia
**Created:** [May 7, 2020, 1:01pm UTC](https://discourse.julialang.org/t/struggling-with-publishing-a-package/38952 "2020-05-07T13:01:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rbontekoe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rbontekoe/32/5981_2.png) [@rbontekoe](https://discourse.julialang.org/u/rbontekoe)
#### Post date: [May 7, 2020, 1:01pm UTC](https://discourse.julialang.org/t/struggling-with-publishing-a-package/38952/1 "2020-05-07T13:01:57Z")

</div>

I try to register a package via [JuliaHub](https://juliahub.com/ui/Registrator). Whatever I do every time I get the message `Tag with a different commit already exists for the version mentioned in (Julia)Project.toml.`

The package in question is [AppliSales](https://github.com/rbontekoe/AppliSales.jl.git) which is a support package I use for testing purposes. I took the next steps:

1. Created the package with PkgTemplates,
2. Tests run successful (add [https://github.com/rbontekoe/AppliSales.jl](https://github.com/rbontekoe/AppliSales.jl), test AppliSales)

```julia
(AppliMaster) pkg> st
    Status `~/julia-projects/tc/AppliMaster/Project.toml`
  [c1345d04] AppliSales v0.1.1 #master (https://github.com/rbontekoe/AppliSales.jl)

(AppliMaster) pkg> test AppliSales
   Testing AppliSales
 Resolving package versions...
  Updating `/tmp/jl_lWG3km/Project.toml`
  [c1345d04] + AppliSales v0.1.1 #master (https://github.com/rbontekoe/AppliSales.jl)
  Updating `/tmp/jl_lWG3km/Manifest.toml`
 [no changes]
[ Info: Running Sandbox
    Status `/tmp/jl_lWG3km/Project.toml`
  [c1345d04] AppliSales v0.1.1 #master (https://github.com/rbontekoe/AppliSales.jl)
  [8dfed614] Test 
Test Summary: | Pass Total
AppliSales.jl | 5 5
   Testing AppliSales tests passed 

```

1. Added `.github/workflows/TagBot.yml.` The TagBot is running well,
2. went to `https://juliahub.com/ui/Registrator`, logged in, and added the URL `https://github.com/rbontekoe/AppliSales.jl.` All green checkmarks are shown. I clicked the Submit button but get the error message.

Does somebody have a link to a tutorial?

Thanks in advance

---

<div class="post-metadata">

### Author: ![rbontekoe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rbontekoe/32/5981_2.png) [@rbontekoe](https://discourse.julialang.org/u/rbontekoe)
#### Post date: [May 7, 2020, 1:03pm UTC](https://discourse.julialang.org/t/struggling-with-publishing-a-package/38952/2 "2020-05-07T13:03:42Z")

</div>

The Julia version I use is v3.1.

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [May 7, 2020, 1:04pm UTC](https://discourse.julialang.org/t/struggling-with-publishing-a-package/38952/3 "2020-05-07T13:04:51Z")

</div>

You need to delete these tags: [https://github.com/rbontekoe/AppliSales.jl/releases](https://github.com/rbontekoe/AppliSales.jl/releases) first. That is what Registrator is complaining about.

---

<div class="post-metadata">

### Author: ![rbontekoe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rbontekoe/32/5981_2.png) [@rbontekoe](https://discourse.julialang.org/u/rbontekoe)
#### Post date: [May 7, 2020, 1:24pm UTC](https://discourse.julialang.org/t/struggling-with-publishing-a-package/38952/4 "2020-05-07T13:24:18Z")

</div>

Thank you, it works great.

NB To delete the release I used this link [Editing and deleting releases - GitHub Help](https://help.github.com/en/enterprise/2.16/user/github/administering-a-repository/editing-and-deleting-releases#deleting-a-release))([Editing and deleting releases - GitHub Help](https://help.github.com/en/enterprise/2.16/user/github/administering-a-repository/editing-and-deleting-releases#deleting-a-release)
