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

Custom testpypi version creation script #23

Merged
merged 9 commits into from
Oct 6, 2023

Conversation

nfelt14
Copy link
Collaborator

@nfelt14 nfelt14 commented Oct 6, 2023

Proposed changes

The test.pypi.org uploader workflow needed a custom version to function properly. This PR adds that custom post-release version.

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Functionality update (non-breaking change which updates or changes existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • CI/CD update (an update to the CI/CD workflows, scripts, and/or configurations)
  • Documentation update (an update to enhance the user experience when reading through the docs)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have followed the guidelines in the CONTRIBUTING document
  • I have signed the CLA
  • I have checked to ensure there aren't other open Pull Requests for the same update/change
  • I have performed a self-review of my code
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • Basic linting passes locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have added necessary documentation (if appropriate)
  • I have updated the Changelog with a brief description of my changes

@nfelt14 nfelt14 temporarily deployed to package-build October 6, 2023 06:44 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

Merging #23 (673dcd9) into main (a322178) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #23   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          168       168           
  Lines         3756      3756           
  Branches       646       646           
=========================================
  Hits          3756      3756           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@nfelt14 nfelt14 temporarily deployed to package-build October 6, 2023 06:49 — with GitHub Actions Inactive
@nfelt14 nfelt14 temporarily deployed to package-testpypi October 6, 2023 07:19 — with GitHub Actions Inactive
@nfelt14 nfelt14 temporarily deployed to package-build October 6, 2023 07:26 — with GitHub Actions Inactive
@nfelt14 nfelt14 marked this pull request as ready for review October 6, 2023 07:27
@nfelt14 nfelt14 requested a review from a team as a code owner October 6, 2023 07:27
@nfelt14 nfelt14 requested a review from a team October 6, 2023 07:27
@nfelt14 nfelt14 enabled auto-merge (squash) October 6, 2023 07:28
@nfelt14
Copy link
Collaborator Author

nfelt14 commented Oct 6, 2023

See https://github.com/tektronix/tm_devices/actions/runs/6428687958/job/17456310320 for a successful deployment using the updated workflow.

@nfelt14 nfelt14 added bug Something isn't working ci/cd Improvements or additions to the CI/CD process labels Oct 6, 2023
@nfelt14 nfelt14 temporarily deployed to package-build October 6, 2023 07:59 — with GitHub Actions Inactive
@nfelt14 nfelt14 merged commit f3e064e into main Oct 6, 2023
34 checks passed
@nfelt14 nfelt14 deleted the nfelt14/custom-testpypi-version-creation-script branch October 6, 2023 15:32
v12ganesh pushed a commit to v12ganesh/tm_devices that referenced this pull request Mar 28, 2024
* ci: Added a script that can be used to modify the value of the package version variable.

* ci: Update script to be more generic, it can now be used to get the current version.

* ci: Added a script that can be used to get the latest version of a package from a pypi server.

* ci: Update test-pypi workflow to create a custom version.

* ci: Lock python to 3.11 to work around a bug in an action.
Signed-off-by: v12ganesh [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci/cd Improvements or additions to the CI/CD process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants