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/02/26 19:58:46 UTC

[PR] Add GitHub action to create release candidates [daffodil-vscode]

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

   Adds a new "Release Candidate" workflow that uses the new GitHub action and is triggered when a release candidate tag is created. This simplifies the release candidate process to just pushing a single signed tag. Workflow dispatch is allowed for testing, but it will not publish anything.
   
   DAFFODIL-2971


-- 
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] Add GitHub action to create release candidates [daffodil-vscode]

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


##########
VERSION:
##########
@@ -0,0 +1 @@
+1.4.1-SNAPSHOT

Review Comment:
   Unfortunately, I don't think there is a way for package.json to read this file. So the for daffodil-vscode, version bumps require modifying two files, package.json and VERSION



-- 
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] Add GitHub action to create release candidates [daffodil-vscode]

Posted by "shanedell (via GitHub)" <gi...@apache.org>.
shanedell commented on PR #1184:
URL: https://github.com/apache/daffodil-vscode/pull/1184#issuecomment-2776457136

   @stevedlawrence Either would be perfectly fine with me


-- 
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] Add GitHub action to create release candidates [daffodil-vscode]

Posted by "stevedlawrence (via GitHub)" <gi...@apache.org>.
stevedlawrence commented on PR #1184:
URL: https://github.com/apache/daffodil-vscode/pull/1184#issuecomment-2770199023

   ASF Infra has add all the necessary secrets. I've squashed the fixup commits, removed this from draft status, and marked it ready for review.
   
   Please let me know if duplicating version information in package.json and the VERSION file is okay. I'm open to other suggestions.


-- 
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] Add GitHub action to create release candidates [daffodil-vscode]

Posted by "stevedlawrence (via GitHub)" <gi...@apache.org>.
stevedlawrence commented on PR #1184:
URL: https://github.com/apache/daffodil-vscode/pull/1184#issuecomment-2779554235

   I don't think I have time right now to right the script. I'll merge this now and the script can be added later, and just manually bump edit the two files in the meantime and be careful to ensure they stay in sync.


-- 
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] Add GitHub action to create release candidates [daffodil-vscode]

Posted by "shanedell (via GitHub)" <gi...@apache.org>.
shanedell commented on PR #1184:
URL: https://github.com/apache/daffodil-vscode/pull/1184#issuecomment-2779476789

   @stevedlawrence Will this be something we can merge soon? We are planning to release 1.4.1-rc1 and put it out for a vote soon, I wanted to wait to do it so we can use this new release workflow. I would just merge it but wasn't sure if you wanted that script/CI to bump the version in both files to this PR or not.


-- 
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] Add GitHub action to create release candidates [daffodil-vscode]

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


-- 
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] Add GitHub action to create release candidates [daffodil-vscode]

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


##########
VERSION:
##########
@@ -0,0 +1 @@
+1.4.1-SNAPSHOT

Review Comment:
   The action was intended to be run immediately after the checkout action and before yarn/npm/sbt/etc commands are run that could generate that file. I *guess* it might work to run something to generate the VERSION file in between checkout and asf-release-candidate actions, but it feels safer to run from a clean slate.
   
   I'm open to other suggestions for the action to figure out the version, but I would like to avoid parsing build configs. That worked in the past because we only have three projects, but I really want this action to be general and simple enough that it could be used by other ASF projects so that maybe someday the maintenance could be shared.



-- 
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] Add GitHub action to create release candidates [daffodil-vscode]

Posted by "scholarsmate (via GitHub)" <gi...@apache.org>.
scholarsmate commented on code in PR #1184:
URL: https://github.com/apache/daffodil-vscode/pull/1184#discussion_r2018655448


##########
VERSION:
##########
@@ -0,0 +1 @@
+1.4.1-SNAPSHOT

Review Comment:
   `package.json` can _create_ the `VERSION` file since that's currently our single source of truth for the version string.  `package.json` already creates a `src/version.ts` file that is consumable by the code.



-- 
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] Add GitHub action to create release candidates [daffodil-vscode]

Posted by "stevedlawrence (via GitHub)" <gi...@apache.org>.
stevedlawrence commented on PR #1184:
URL: https://github.com/apache/daffodil-vscode/pull/1184#issuecomment-2775793690

   @shanedell would you prefer the script and/or CI be added as part of this PR or done in separately?


-- 
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