You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "stevedlawrence (via GitHub)" <gi...@apache.org> on 2025/09/12 18:24:28 UTC

[PR] Fix Maven and SBT dependencies for Daffodil 4.x releases [daffodil-site]

stevedlawrence opened a new pull request, #189:
URL: https://github.com/apache/daffodil-site/pull/189

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix Maven and SBT dependencies for Daffodil 4.x releases [daffodil-site]

Posted by "stevedlawrence (via GitHub)" <gi...@apache.org>.
stevedlawrence commented on code in PR #189:
URL: https://github.com/apache/daffodil-site/pull/189#discussion_r2345134845


##########
site/_layouts/release.html:
##########
@@ -3,6 +3,8 @@
 permalink: /release/release-notes-:title
 ---
 
+{% assign major_version = page.title | split: '.' | first | plus: 0 %}

Review Comment:
   Yeah, Jekyll uses the [Liquid](https://shopify.github.io/liquid/) template language, and it doesn't have a way to explicitly convert a string to a number. You just have to rely on type coercion, which is what `plus: 0` (or alternatively `times: 1`) does--seems to the be the standard way to do it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix Maven and SBT dependencies for Daffodil 4.x releases [daffodil-site]

Posted by "olabusayoT (via GitHub)" <gi...@apache.org>.
olabusayoT commented on code in PR #189:
URL: https://github.com/apache/daffodil-site/pull/189#discussion_r2345103293


##########
site/_layouts/release.html:
##########
@@ -3,6 +3,8 @@
 permalink: /release/release-notes-:title
 ---
 
+{% assign major_version = page.title | split: '.' | first | plus: 0 %}

Review Comment:
   is this "plus 0" to make it an int?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix Maven and SBT dependencies for Daffodil 4.x releases [daffodil-site]

Posted by "stevedlawrence (via GitHub)" <gi...@apache.org>.
stevedlawrence merged PR #189:
URL: https://github.com/apache/daffodil-site/pull/189


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org