setting up for mapnik v3.1.0 release [skip ci]
This commit is contained in:
parent
cd7272c4ef
commit
445438e34c
2 changed files with 5 additions and 4 deletions
|
@ -26,8 +26,8 @@
|
||||||
#include <mapnik/stringify_macro.hpp>
|
#include <mapnik/stringify_macro.hpp>
|
||||||
|
|
||||||
#define MAPNIK_MAJOR_VERSION 3
|
#define MAPNIK_MAJOR_VERSION 3
|
||||||
#define MAPNIK_MINOR_VERSION 0
|
#define MAPNIK_MINOR_VERSION 1
|
||||||
#define MAPNIK_PATCH_VERSION 24
|
#define MAPNIK_PATCH_VERSION 0
|
||||||
|
|
||||||
#define MAPNIK_VERSION (MAPNIK_MAJOR_VERSION*100000) + (MAPNIK_MINOR_VERSION*100) + (MAPNIK_PATCH_VERSION)
|
#define MAPNIK_VERSION (MAPNIK_MAJOR_VERSION*100000) + (MAPNIK_MINOR_VERSION*100) + (MAPNIK_PATCH_VERSION)
|
||||||
|
|
||||||
|
|
|
@ -111,8 +111,9 @@ step "release notes: $RELEASE_NOTES"
|
||||||
|
|
||||||
# create draft release
|
# create draft release
|
||||||
curl --data "{\"tag_name\": \"${MAPNIK_VERSION}\",\"target_commitish\": \"master\",\"name\": \"${MAPNIK_VERSION}\",\"body\": \"${RELEASE_NOTES}\",\"draft\": ${IS_DRAFT},\"prerelease\": ${IS_PRERELEASE}}" \
|
curl --data "{\"tag_name\": \"${MAPNIK_VERSION}\",\"target_commitish\": \"master\",\"name\": \"${MAPNIK_VERSION}\",\"body\": \"${RELEASE_NOTES}\",\"draft\": ${IS_DRAFT},\"prerelease\": ${IS_PRERELEASE}}" \
|
||||||
https://api.github.com/repos/mapnik/mapnik/releases?access_token=${GITHUB_TOKEN_MAPNIK_PUBLIC_REPO} \
|
-H "Authorization: token ${GITHUB_TOKEN_MAPNIK_PUBLIC_REPO}" \
|
||||||
> create_response.json
|
https://api.github.com/repos/mapnik/mapnik/releases \
|
||||||
|
> create_response.json
|
||||||
cat create_response.json
|
cat create_response.json
|
||||||
# parse out upload url and form it up to post tarball
|
# parse out upload url and form it up to post tarball
|
||||||
UPLOAD_URL=$(python -c "import json;print json.load(open('create_response.json'))['upload_url'].replace('{?name,label}','?name=${TARBALL_COMPRESSED}')")
|
UPLOAD_URL=$(python -c "import json;print json.load(open('create_response.json'))['upload_url'].replace('{?name,label}','?name=${TARBALL_COMPRESSED}')")
|
||||||
|
|
Loading…
Reference in a new issue