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

Use TRAVIS_REPO_SLUG instead of hard-coding pytest-dev/pytest #5740

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

nicoddemus
Copy link
Member

I was doing final tests on the script today, and forgot to change
the hardecoded "pytest-dev/pytest", which ended up publishing a
4.99.10 release to the main repository by mistake, as my token
has access to both my fork and main repository. 🤕

I deleted the tag immeditely just a few seconds later, so hopefully
this won't cause major problems.

This change makes it safer to test this in the future, never publishing
to the main repository by mistake (as long as the tags are pushed to the
right repositories of course).

@codecov
Copy link

codecov bot commented Aug 14, 2019

Codecov Report

Merging #5740 into features will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           features    #5740      +/-   ##
============================================
- Coverage     96.25%   96.23%   -0.03%     
============================================
  Files           117      117              
  Lines         25902    25902              
  Branches       2495     2495              
============================================
- Hits          24932    24926       -6     
- Misses          666      672       +6     
  Partials        304      304
Impacted Files Coverage Δ
src/_pytest/doctest.py 95.04% <0%> (-1.99%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa75d81...cb94fd3. Read the comment docs.

I was doing final tests on the script today, and forgot to change
the hardecoded "pytest-dev/pytest", which ended up publishing a
`4.99.10` release to the main repository by mistake, as my token
has access to both my fork and main repository.

I deleted the tag immeditely just a few seconds later, so hopefully
this won't cause major problems.

This change makes it safer to test this in the future, never publishing
to the main repository by mistake (as long as the tags are pushed to the
right repositories of course).
@nicoddemus nicoddemus merged commit 0822a1e into pytest-dev:features Aug 15, 2019
@nicoddemus nicoddemus deleted the use-repo-env-var branch August 15, 2019 00:47
nicoddemus added a commit to nicoddemus/pytest that referenced this pull request Aug 19, 2019
Use TRAVIS_REPO_SLUG instead of hard-coding pytest-dev/pytest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants