Skip to content

Set jython-cli version to RELEASE (latest stable version) - #36

Open
wfouche wants to merge 12 commits into
jython:mainfrom
wfouche:dev/next-dev
Open

wfouche wants to merge 12 commits into
jython:mainfrom
wfouche:dev/next-dev

Conversation

@wfouche

@wfouche wfouche commented Sep 5, 2026

Copy link
Copy Markdown
Member

@jeff5 , I think -dev is a more relevant suffice for the alias then -next given that this alias would typically refer to a development snapshot (pre-release).

@jeff5

jeff5 commented Sep 5, 2026

Copy link
Copy Markdown
Member

Not a development snapshot, technically: it would always be a beta or a release candidate, something worth publishing at Maven Central. Does that affect your choice of name?

It would be nice to stabilise this. Is there a convention elsewhere in the JBang ecosystem? If it's "-dev", fair enough.

I've noticed that the beta shows up as the "latest version" on Maven Central (questionably in my view). Is there maybe some way (a clean one please) to select the pre-final "latest" when the latest is not final, and ideally not involving the editing of the catalog each time?

@wfouche

wfouche commented Sep 6, 2026

Copy link
Copy Markdown
Member Author

The "latest" and "release" versions can be determined by retrieving this XML file:

image

@wfouche wfouche changed the title Rename jython-cli-next to jython-cli-dev Rename jython-cli-next to jython-cli-latest Sep 6, 2026
@wfouche

wfouche commented Sep 6, 2026

Copy link
Copy Markdown
Member Author

@jeff5 , thanks for the valuable feedback.

jython-cli-latest will now always use the latest Jython release.

$ jbang run jython-cli-latest@jython -V
Jython 2.7.5b1

@wfouche wfouche changed the title Rename jython-cli-next to jython-cli-latest Define aliases jython-cli-latest and jython-cli-release Sep 6, 2026
@wfouche wfouche changed the title Define aliases jython-cli-latest and jython-cli-release Define aliases jython-latest & jython-release and rename jython-cli to jython Sep 6, 2026
@wfouche wfouche changed the title Define aliases jython-latest & jython-release and rename jython-cli to jython Renamed alias jython-cli to jython and set version to RELEASE (latest stable version) Sep 18, 2026
@wfouche wfouche changed the title Renamed alias jython-cli to jython and set version to RELEASE (latest stable version) Set jython-cli version to RELEASE (latest stable version) Sep 19, 2026
@wfouche

wfouche commented Sep 19, 2026

Copy link
Copy Markdown
Member Author

Alias jython-cli@jython will now always run the latest stable version of Jython which is the RELEASE version. If a different version of Jython is required, then set property -Djbang.jython.version=<version>.

$ jbang run jython-cli@jython -V
Jython 2.7.5b1

$ jbang run -Djbang.jython.version=2.7.4 jython-cli@jython -V
Jython 2.7.4

$ jbang run -Djbang.jython.version=LATEST jython-cli@jython -V
Jython 2.7.5b1

$ jbang run -Djbang.jython.version=RELEASE jython-cli@jython -V
Jython 2.7.5b1

@wfouche

wfouche commented Sep 19, 2026

Copy link
Copy Markdown
Member Author

@jeff5 , @Stewori - please review and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants