Skip to content

Commit ce8de1a

Browse files
committed
chore: add make goal to package release tar ball (#54)
1 parent e28a09e commit ce8de1a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
VERSION ?= latest
18+
1719
.PHONY: license
1820

1921
setup:
@@ -59,4 +61,11 @@ upload: package
5961
clean:
6062
rm -rf browser common language_agent management profile service_mesh_probe
6163
rm -rf skywalking_python.egg-info dist build
62-
find . -type d -name "__pycache__" -exec rm -r {} +
64+
rm -rf skywalking-python*.tgz*
65+
find . -name "__pycache__" -exec rm -r {} +
66+
find . -name "*.pyc" -exec rm -r {} +
67+
68+
release: clean lint license
69+
-tar -zcvf skywalking-python-src-$(VERSION).tgz *
70+
gpg --batch --yes --armor --detach-sig skywalking-python-src-$(VERSION).tgz
71+
shasum -a 512 skywalking-python-src-$(VERSION).tgz > skywalking-python-src-$(VERSION).tgz.tgz.sha512

0 commit comments

Comments
 (0)