Modify

Opened 2 years ago

Closed 2 years ago

Last modified 22 months ago

#5906 closed enhancement (worksforme)

start option --version

Reported by: skyper Owned by: team
Priority: normal 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 Changed 2 years ago by skyper

  • Resolution set to worksforme
  • Status changed from new to closed

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 Changed 22 months ago by bastiK

In [4259/josm]:

see #5906 - start option --version

comment:3 Changed 22 months ago by anonymous

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.