feat: abra release now asks for a release note #393
No reviewers
Labels
No Label
bug
build
ci/cd
contributing
design
documentation
duplicate
enhancement
help wanted
invalid
meta
question
release
release-candidate
security
test
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/abra#393
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "p4u1/abra:recipe-release-release-note"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This implements coop-cloud/organising#540 by checking if a
release/next
file exists and if so moves it torelease/<tag>
. When no release notes exists it prompts for them.9390f66b22
toced1676240
@ -106,0 +126,4 @@
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" config --local user.name test
assert_success
run bash -c "echo 'those are some release notes for the next release' >> $ABRA_DIR/recipes/$TEST_RECIPE/release/next"
Think you need a
assert_success
per command to check that all don't fail?Good catch! I added the missing assert and also refactored the integration tests some more.
Looking solid! I think it would be good to try find somewhere on https://docs.coopcloud.tech to mention this. It's a bit of a mess there, but anywhere will do. Only one minor comment, merge whenever you're happy with it! Thanks!
@ -240,0 +262,4 @@
logrus.Debugf("dry run: move release note from 'next' to %s", tag)
return nil
}
err := os.Rename(nextReleaseNotePath, tagReleaseNotePath)
Maybe we should ask the user with a prompt before doing the rename?
Something like "Relase notes were detected in release/next. Do You want to use them for this release?"
Yeh, that does sound less magic and more explicit. Nice.
ced1676240
to411c0c138c
411c0c138c
tof302145a1c
f302145a1c
tofd6c5b3b6d
fd6c5b3b6d
toefb935b02b
Merge away 💣
@decentral1se Merged and proposed doc changes here: coop-cloud/docs.coopcloud.tech#244