Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add release automation workflow #3642

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Aug 9, 2024

This workflow will be used to build packages at https://github.com/nextcloud-releases/polls

Signed-off-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
@dartcafe
Copy link
Collaborator

dartcafe commented Aug 9, 2024

I think I understand the code. But please help me understand.

  • If I understood this right, the action triggers upon published releases, right?
  • Does the appstore release differ main releases from beta and alpha?
  • Where are the secrets stored? I could not find them.
  • How are the release notes added to the appstore?

@AndyScherzinger
Copy link
Member

I think I understand the code. But please help me understand.

  • If I understood this right, the action triggers upon published releases, right?

The code gets pushed to the re.ease-org repo variant which than triggers the publishing to the store

  • Does the appstore release differ main releases from beta and alpha?

app store itself distinguishes releases stable/beta via the existence of a suffix i.e. -beta -alpha -rc etc.

  • Where are the secrets stored? I could not find them.

Within the GH organisation itself, hence hidden to people but accessible to the GH action itself

  • How are the release notes added to the appstore?

Don't know, maybe @ChristophWurst does

@ChristophWurst
Copy link
Member Author

The app store reads the CHANGELOG.md file, ref https://nextcloudappstore.readthedocs.io/en/stable/developer.html#changelog. Release notes on github are not picked up by the automation nor the app store.

@ChristophWurst
Copy link
Member Author

Where are the secrets stored? I could not find them.

At https://github.com/nextcloud-releases/polls

The release is done as follows

  1. Get the app release-read in this repo. Everything has to be in git. E.g. version bump, changelog update.
  2. Create a git tag. Push it to this repo and https://github.com/nextcloud-releases/polls
  3. Open the tags/releases page at https://github.com/nextcloud-releases/polls and create a new release
  4. Open https://github.com/nextcloud-releases/polls/actions and see the release workflow running

@ChristophWurst ChristophWurst merged commit 52e71b5 into master Aug 19, 2024
21 checks passed
@ChristophWurst ChristophWurst deleted the ci/release-automation-workflow branch August 19, 2024 13:56
@ChristophWurst
Copy link
Member Author

ChristophWurst commented Aug 19, 2024

@AndyScherzinger @dartcafe are there any stable branches you want to release from? Then we'll also need backports

@AndyScherzinger
Copy link
Member

Currently we should be fine since master===v7, however next===v8, so we need to forward-port this one I think

@AndyScherzinger
Copy link
Member

/backport to next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ☑️ Done
Development

Successfully merging this pull request may close these issues.

3 participants