From c8ade8628c52d60b8b091a463c3b3df907203a40 Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 13 Nov 2019 18:33:23 +0800 Subject: update --- utils/osm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/osm') diff --git a/utils/osm b/utils/osm index cf24e8c..9dcd7c1 100644 --- a/utils/osm +++ b/utils/osm @@ -171,9 +171,9 @@ osm.update() { } # $1 as .osm file $2 as list of change content # use Diff upload: POST /api/0.6/changeset/#id/upload maybe? -osm.osm.update() { +osm.osc.create() { echo "" - awk '{print "<" $1 " id=\"" $2 "\""}' $1 + awk '{print "<" $1 " id=\"" $2 "\" version=\"NONE\""}' $1 echo "" } # create a new changeset -- cgit v1.2.3-70-g09d2