mirror of https://github.com/pallets/flask.git
				
				
				
			Use per-release URLs in GH env UI when publishing to the PyPI
This essentially, makes the UI nicer in a few places with a clickable link to the released version being presented in the web interface of GitHub.
This commit is contained in:
		
							parent
							
								
									b90a4f1f4a
								
							
						
					
					
						commit
						0e59442f6c
					
				| 
						 | 
					@ -55,9 +55,11 @@ jobs:
 | 
				
			||||||
          GH_TOKEN: ${{ github.token }}
 | 
					          GH_TOKEN: ${{ github.token }}
 | 
				
			||||||
  publish-pypi:
 | 
					  publish-pypi:
 | 
				
			||||||
    needs: [provenance]
 | 
					    needs: [provenance]
 | 
				
			||||||
 | 
					    environment:
 | 
				
			||||||
      # Wait for approval before attempting to upload to PyPI. This allows reviewing the
 | 
					      # Wait for approval before attempting to upload to PyPI. This allows reviewing the
 | 
				
			||||||
    # files in the draft release.
 | 
					      # files in the draft release. The projection is configured in the repository settings.
 | 
				
			||||||
    environment: publish
 | 
					      name: publish
 | 
				
			||||||
 | 
					      url: https://pypi.org/project/flask/${{ github.ref_name }}
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    permissions:
 | 
					    permissions:
 | 
				
			||||||
      id-token: write
 | 
					      id-token: write
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue