Skip to content

Commit

Permalink
fix: Do not generate symlinks for major.minor.patch (#29)
Browse files Browse the repository at this point in the history
Those version files are meant to be regular files and not symlinks.
Pre-release versions such as 5.1.10-beta.0 should not create a symlink
5.1.10.json, because that file name should be reserved for the actual
5.1.10 release.

At the moment, craft refuses to publish a new release because the
registry already contains a version file for the release being
published.

Note that the files under packages/nuget/ being removed refer to version
numbers that have never been released (they do not exist in Nuget, only
the preview versions exist).
  • Loading branch information
rhcarvalho authored Jul 22, 2020
1 parent 0cc274f commit 559624c
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion bin/sync-links
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def sync_links(path):
target_files = [
'%s.json' % version_info.major,
'%s.%s.json' % (version_info.major, version_info.minor),
'%s.%s.%s.json' % (version_info.major, version_info.minor, version_info.patch),
'latest.json',
]

Expand Down
1 change: 0 additions & 1 deletion packages/nuget/Sentry.AspNetCore/0.0.1.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/nuget/Sentry.AspNetCore/1.0.1.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/nuget/Sentry.EntityFramework/0.0.1.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/nuget/Sentry.Extensions.Logging/0.0.1.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/nuget/Sentry.Extensions.Logging/1.0.1.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/nuget/Sentry.Log4Net/0.0.1.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/nuget/Sentry.Log4Net/1.0.1.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/nuget/Sentry.Serilog/1.0.1.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/nuget/Sentry/0.0.1.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/nuget/Sentry/1.0.1.json

This file was deleted.

0 comments on commit 559624c

Please sign in to comment.