[
https://issues.apache.org/jira/browse/CAMEL-14678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17054935#comment-17054935
]
Muskan commented on CAMEL-14678:
--------------------------------
[~zregvart] May I take this as my first contribution?
It seems that we can do a simply GET request: `{{GET
/repos/:owner/:repo/releases/latest}}` and the use the `name` attribute to get
the latest version.
2 doubts.
# I see there is a use of an additional suffix `-M4` in the mentioned PR #169,
could you please explain that.
# How do we use the Antora extensions to save such attributes, I couldn't get
my head around the examples mentioned in
`https://github.com/apache/camel-website/tree/master/extensions`
Thanks
> Find a way to version Camel Quarkus within the camel-quarkus repository
> -----------------------------------------------------------------------
>
> Key: CAMEL-14678
> URL: https://issues.apache.org/jira/browse/CAMEL-14678
> Project: Camel
> Issue Type: Improvement
> Components: website
> Reporter: Zoran Regvart
> Priority: Major
> Labels: help-wanted
>
> When we publish the Camel Quarkus documentation we reference a version of
> Camel Quarkus stored in an Asciidoc attribute in the camel-website
> repository. So each time we release Camel Quarkus we also need to update the
> camel-website repository to have the version correctly reflected in the
> published website. Have a look at the [recent pull
> request|https://github.com/apache/camel-website/pull/169] to increase this
> version.
> A better solution would be to find a way to store that attribute within the
> camel-quarkus repository so it's independent of the website; or to have that
> version pulled in from the [GitHub
> releases|https://developer.github.com/v3/repos/releases/#get-the-latest-release]
> and incorporate it via Antora extension (have a look at the existing Antora
> [extensions we
> have|https://github.com/apache/camel-website/tree/master/extensions]).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)