mirror of
				https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
				synced 2025-06-27 11:58:51 +02:00 
			
		
		
		
	chore(release): v1.0.0-staging.2
This commit is contained in:
		
							
								
								
									
										15
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -81,7 +81,7 @@ jobs: | |||||||
|  |  | ||||||
|       - name: Upload macOS Build Artifact |       - name: Upload macOS Build Artifact | ||||||
|         id: upload |         id: upload | ||||||
|         uses: actions/upload-artifact@v4.4.3 |         uses: actions/upload-artifact@v4.3.0 | ||||||
|         with: |         with: | ||||||
|           name: build-macos |           name: build-macos | ||||||
|           path: build/ |           path: build/ | ||||||
| @@ -122,6 +122,15 @@ jobs: | |||||||
|     if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' |     if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|  |       - name: Get version from commit message | ||||||
|  |         id: get_version | ||||||
|  |         run: | | ||||||
|  |           COMMIT_MESSAGE="${{ github.event.head_commit.message }}" | ||||||
|  |           # Extract the version number after "chore(release): " | ||||||
|  |           VERSION=$(echo "$COMMIT_MESSAGE" | sed -n 's/^chore(release): \(v[0-9]*\.[0-9]*\.[0-9]*[-a-zA-Z0-9.]*\).*$/\1/p') | ||||||
|  |           echo "version=$VERSION" >> "$GITHUB_OUTPUT" | ||||||
|  |         shell: bash | ||||||
|  |  | ||||||
|       - name: Download Windows Build Artifact |       - name: Download Windows Build Artifact | ||||||
|         uses: actions/download-artifact@v4.3.0 |         uses: actions/download-artifact@v4.3.0 | ||||||
|         with: |         with: | ||||||
| @@ -153,9 +162,9 @@ jobs: | |||||||
|         id: create_release |         id: create_release | ||||||
|         uses: softprops/action-gh-release@v2.2.2 |         uses: softprops/action-gh-release@v2.2.2 | ||||||
|         with: |         with: | ||||||
|           tag_name: v${{ github.run_number }} |           tag_name: ${{ steps.get_version.outputs.version }} | ||||||
|           name: | |           name: | | ||||||
|             ${{ github.ref == 'refs/heads/main' && 'Production Release' || 'Pre-release' }} v${{ github.run_number }} |             ${{ github.ref == 'refs/heads/main' && 'Production Release' || 'Pre-release' }} ${{ steps.get_version.outputs.version }} | ||||||
|           body: | |           body: | | ||||||
|             🎮 Automatic ${{ github.ref == 'refs/heads/main' && 'Production' || 'Pre-release' }} build |             🎮 Automatic ${{ github.ref == 'refs/heads/main' && 'Production' || 'Pre-release' }} build | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user