Use revisions instead of tilde.
Tilde is prohibited by FPC: https://fedorahosted.org/fpc/ticket/398
This commit is contained in:
parent
699faa5e25
commit
0d5d7e9999
@ -9,9 +9,9 @@ module RubyGemsProv
|
||||
def self.normalize_prerelease(version)
|
||||
if version.prerelease?
|
||||
prerelease = version.version.sub /^#{version.release}\./, ''
|
||||
"#{version.release}~#{prerelease}"
|
||||
"#{version.release}-0.1.#{prerelease}"
|
||||
else
|
||||
version.release
|
||||
"#{version.release}-1"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user