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

release-tools/publish-releases.sh: New script, to publish staged releases #147

Closed
wants to merge 8 commits into from

Commits on Aug 22, 2023

  1. release-tools/publish-releases.sh: New script, to publish staged rele…

    …ases
    
    This replaces the old do_release.pl, and works with the .dat files that
    stage-release.sh produces to get all the information necessary.
    
    By design, this script only handles one type of staged releases per run;
    'public', 'premium' and 'security' are staged release types, and they affect
    the staging repository that's used.  Upload locations / repositories are
    determined from the version number of each staged release, unless given on
    the command line.
    
    Any set of release files that don't fit the chosen staged release type will
    simply be ignored.
    
    The following updates are performed:
    
    - the source repository is updated with release commits and tag
    - a github release is created in the appropriate repository
    - the release files are copied to the appropriate file service directory
    - omc/data is updated with added lines in newsflash.txt
    
    The extra work surrounding security advisories is not performed by this
    script at this stage.  That's left for later development.
    
    This also updates release-tools/stage-release.sh to add version information
    to the metadata file that release-tools/publish-release.sh can depend on.
    levitte committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    a5e0876 View commit details
    Browse the repository at this point in the history
  2. release-tools/publish-releases.sh: Set defaults from environment vari…

    …ables
    
    This makes it possible to setup a test environment for staging and publishing.
    
    This also modifies stage-release.sh's option --staging-address to
    --staging-location, to reflect that it may also be a local directory.
    levitte committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    a8cc06b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43db03d View commit details
    Browse the repository at this point in the history
  4. release-tools/publish-releases.sh: Remove the --custom option

    This was useful once, but isn't any more.  Setting appropriate environment
    variables has the same effect, and is easier to handle.
    levitte committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    dca781f View commit details
    Browse the repository at this point in the history
  5. release-tools/publish-releases.sh: Change the behaviour for signing

    Signing of release files and tags is now only done if it hasn't been done
    by stage-release.sh.
    levitte committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    089b45f View commit details
    Browse the repository at this point in the history
  6. release-tools/publish-releases.sh: Change staging types to 'ordinary'…

    … and 'security'
    
    Having the staging types 'public', 'premium' and 'security' was nonsense,
    we don't really have that sort of division.  'ordinary' and 'security'
    staging makes more sense for what we do, and that leaves it to the script
    to fully determine for each version being released if it should become a
    public or a premium release.
    levitte committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    1021123 View commit details
    Browse the repository at this point in the history
  7. release-tools/{stage,publish}-releases.sh: Better gpg handling

    gpg is very annoying with how it prompts for pass phrases.  However, it's
    possible to tell it to use the terminal with '--pinentry-mode loopback'.
    In turn, git is annoying with how one can't specify gpg options directly;
    instead, a small script that does the right thing is produced, and passed
    to git with the gpg.program config option.
    levitte committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    289c6d4 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Configuration menu
    Copy the full SHA
    00e34fd View commit details
    Browse the repository at this point in the history