[ 
https://issues.apache.org/jira/browse/CASSANDRA-20672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18045860#comment-18045860
 ] 

Rishabh Saraswat commented on CASSANDRA-20672:
----------------------------------------------

[~mck] This is the [PR|https://github.com/apache/cassandra-builds/pull/122]

Suggestion you gave (automating/removing the changelog file) sounds good for 
long term maintenance, but that sounds like a huge refactoring of the build 
system.

I picked this up because the ticket was tagged as "Low Hanging Fruit" and it 
seemed like a good entry point to contribute.

the main issue im trying to solve here is that the script currently pauses for 
manual verification of the changelog. If the script fails after that step (like 
during staging), i currently have to either git reset (and redo the manual 
verification) or hack the script locally to comment out the dch lines just to 
retry.

I figured adding the flag was a cleaner way to handle those retries without 
modifying the script source every time. Do you think we could get this in as a 
small quality-of-life fix for the current workflow?

 

> release scripts should allow skipping the changelog update
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-20672
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20672
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Brandon Williams
>            Assignee: Rishabh Saraswat
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> If the release script fails for whatever reason, you can remove the deployed 
> files from svn and drop the maven artifact to start again, but one last step 
> you can't undo is the changelog since it's already committed.  In these cases 
> I comment out the 'dch' in the script so I can make another attempt, but it 
> would be good to have a proper flag for this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to