Merge pull request 'Fix: Release not creating Zip file created' (#9) from feature-single-product into main
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Create Release / build (push) Successful in 3s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Create Release / build (push) Successful in 3s
				
			Reviewed-on: #9
This commit is contained in:
		@@ -55,10 +55,18 @@ jobs:
 | 
			
		||||
 | 
			
		||||
      - name: Create ZIP archive
 | 
			
		||||
        run: |
 | 
			
		||||
          # Create a temp directory with the correct plugin folder name
 | 
			
		||||
          mkdir -p /tmp/fourthwall-store-embed
 | 
			
		||||
          rsync -av --exclude=".git" --exclude=".gitea" --exclude="build" . /tmp/fourthwall-store-embed/
 | 
			
		||||
 | 
			
		||||
          # Copy files to the temp directory (excluding git and other unnecessary files)
 | 
			
		||||
          cp -r * /tmp/fourthwall-store-embed/ 2>/dev/null || true
 | 
			
		||||
 | 
			
		||||
          # Exclude .git and .gitea directories
 | 
			
		||||
          rm -rf /tmp/fourthwall-store-embed/.git /tmp/fourthwall-store-embed/.gitea 2>/dev/null || true
 | 
			
		||||
 | 
			
		||||
          # Create the ZIP file with the proper structure
 | 
			
		||||
          cd /tmp
 | 
			
		||||
          zip -r $GITEA_WORK_DIR/fourthwall-store-embed.zip fourthwall-store-embed
 | 
			
		||||
          zip -r $GITHUB_WORKSPACE/fourthwall-store-embed.zip fourthwall-store-embed
 | 
			
		||||
 | 
			
		||||
      - name: Create Release
 | 
			
		||||
        uses: softprops/action-gh-release@v2
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user