Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#5906 closed enhancement (worksforme)

start option --version

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: version Cc:

Description

I thought it had been implemanted but maybe I am wrong.

I need a start option to just get the version of JOSM and exit. Yes, I could do that with

josm --help

and filter but

--version

is very common.

How do you automatically update josm ?

Thanks skyper

Attachments (0)

Change History (3)

comment:1 by skyper, 13 years ago

Resolution: worksforme
Status: newclosed

I wrote a script to automatically update josm.

Anyway I do not need this option anymore as it is possible to get the version number from .jar file without running java:

Use

unzip -c josm-latest.jar REVISION|grep "Last Changed Rev"

for release version

comment:2 by bastiK, 13 years ago

In [4259/josm]:

see #5906 - start option --version

comment:3 by anonymous, 13 years ago

I save the version in the name of the jar file, see https://github.com/cobra/josm-update-script

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.