File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1921setup :
@@ -59,4 +61,11 @@ upload: package
5961clean :
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
You can’t perform that action at this time.
0 commit comments