Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

ci: only publish pypi when release changes from pre-release to stable #269

Conversation

ReenigneArcher
Copy link
Member

Description

After changing the pre-release logic, PyPI was still published in all cases. These changes make it so PyPI is only updated when the release is edited (e.g. from pre-release to stable).

Screenshot

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

Branch Updates

LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.

  • I want maintainers to keep my branch updated

Copy link

codecov bot commented May 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.77%. Comparing base (95d5b0a) to head (f413795).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #269   +/-   ##
=======================================
  Coverage   78.77%   78.77%           
=======================================
  Files          24       24           
  Lines        2869     2869           
=======================================
  Hits         2260     2260           
  Misses        609      609           
Flag Coverage Δ
Python-2.7-Linux 78.77% <ø> (ø)
Python-2.7-Windows 78.77% <ø> (ø)
Python-2.7-macOS 78.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@ReenigneArcher ReenigneArcher merged commit 068e651 into master May 21, 2024
17 checks passed
@ReenigneArcher ReenigneArcher deleted the ci-only-publish-pypi-when-release-changes-from-pre-release-to-stable branch May 21, 2024 00:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant