You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/07/27 06:45:31 UTC
[skywalking-python] branch master updated: chore: add make goal to
package release tar ball (#54)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git
The following commit(s) were added to refs/heads/master by this push:
new 4b57578 chore: add make goal to package release tar ball (#54)
4b57578 is described below
commit 4b575787629a43b31af1a78a4da8681317f6df7b
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Mon Jul 27 14:45:20 2020 +0800
chore: add make goal to package release tar ball (#54)
---
Makefile | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 0ee496c..ad0cc7e 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+VERSION ?= latest
+
.PHONY: license
setup:
@@ -59,4 +61,11 @@ upload: package
clean:
rm -rf browser common language_agent management profile service_mesh_probe
rm -rf skywalking_python.egg-info dist build
- find . -type d -name "__pycache__" -exec rm -r {} +
\ No newline at end of file
+ rm -rf skywalking-python*.tgz*
+ find . -name "__pycache__" -exec rm -r {} +
+ find . -name "*.pyc" -exec rm -r {} +
+
+release: clean lint license
+ -tar -zcvf skywalking-python-src-$(VERSION).tgz *
+ gpg --batch --yes --armor --detach-sig skywalking-python-src-$(VERSION).tgz
+ shasum -a 512 skywalking-python-src-$(VERSION).tgz > skywalking-python-src-$(VERSION).tgz.tgz.sha512