mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Release file: support Version field
https://wiki.debian.org/DebianRepository/Format#Version The Version field, if specified, shall be the version of the release. On the other hand, if not set or set to an empty value, the Version field will not be included in the Release file. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
This commit is contained in:
@@ -690,7 +690,7 @@ class PublishSnapshot23Test(BaseTest):
|
||||
|
||||
class PublishSnapshot24Test(BaseTest):
|
||||
"""
|
||||
publish snapshot: custom origin, notautomatic and butautomaticupgrades
|
||||
publish snapshot: custom origin, version, notautomatic and butautomaticupgrades
|
||||
"""
|
||||
fixtureDB = True
|
||||
fixturePool = True
|
||||
@@ -698,7 +698,7 @@ class PublishSnapshot24Test(BaseTest):
|
||||
"aptly snapshot create snap24 from mirror gnuplot-maverick",
|
||||
]
|
||||
sortOutput = True
|
||||
runCmd = "aptly publish snapshot -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec -distribution=squeeze -origin=aptly24 -notautomatic=yes -butautomaticupgrades=yes snap24"
|
||||
runCmd = "aptly publish snapshot -keyring=${files}/aptly.pub -secret-keyring=${files}/aptly.sec -distribution=squeeze -origin=aptly24 -version=13.3 -notautomatic=yes -butautomaticupgrades=yes snap24"
|
||||
gold_processor = BaseTest.expand_environ
|
||||
|
||||
def check(self):
|
||||
|
||||
Reference in New Issue
Block a user