Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
docker-py
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
docker-py
Commits
54ad7276
Kaydet (Commit)
54ad7276
authored
Mar 23, 2016
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request #1007 from docker/959-release-script
Basic release script
üst
453ab066
eecfc7b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
.gitignore
.gitignore
+1
-0
release.sh
scripts/release.sh
+34
-0
setup.cfg
setup.cfg
+3
-0
No files found.
.gitignore
Dosyayı görüntüle @
54ad7276
...
@@ -11,6 +11,7 @@ html/*
...
@@ -11,6 +11,7 @@ html/*
# Compiled Documentation
# Compiled Documentation
site/
site/
README.rst
env/
env/
venv/
venv/
...
...
scripts/release.sh
0 → 100755
Dosyayı görüntüle @
54ad7276
#!/bin/bash
#
# Create the official release
#
if
[
-z
"
$(
command
-v
pandoc 2> /dev/null
)
"
]
;
then
>
&2
echo
"
$0
requires http://pandoc.org/"
>
&2
echo
"Please install it and make sure it is available on your
\$
PATH."
exit
2
fi
VERSION
=
$1
REPO
=
docker/docker-py
GITHUB_REPO
=
git@github.com:
$REPO
if
[
-z
$VERSION
]
;
then
echo
"Usage:
$0
VERSION [upload]"
exit
1
fi
echo
"##> Tagging the release as
$VERSION
"
git tag
$VERSION
||
exit
1
if
[[
$2
==
'upload'
]]
;
then
echo
"##> Pushing tag to github"
git push
$GITHUB_REPO
$VERSION
||
exit
1
fi
pandoc
-f
markdown
-t
rst README.md
-o
README.rst
||
exit
1
python setup.py sdist bdist_wheel
||
exit
1
if
[[
$2
==
'upload'
]]
;
then
echo
"##> Uploading sdist to pypi"
python setup.py upload
fi
setup.cfg
0 → 100644
Dosyayı görüntüle @
54ad7276
[bdist_wheel]
universal = 1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment