mirror of https://github.com/Xhofe/alist
				
				
				
			ci: change auto commit user [skip ci]
							parent
							
								
									6c1c7e5cc0
								
							
						
					
					
						commit
						3686075a7f
					
				| 
						 | 
				
			
			@ -53,8 +53,8 @@ jobs:
 | 
			
		|||
        run: |
 | 
			
		||||
          cd alist-web
 | 
			
		||||
          git add .
 | 
			
		||||
          git config --local user.email "i@nn.ci"
 | 
			
		||||
          git config --local user.name "Andy Hsu"
 | 
			
		||||
          git config --local user.email "bot@nn.ci"
 | 
			
		||||
          git config --local user.name "IlaBot"
 | 
			
		||||
          git commit -m "chore: auto update i18n file" -a 2>/dev/null || :
 | 
			
		||||
          cd ..
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -53,8 +53,8 @@ jobs:
 | 
			
		|||
 | 
			
		||||
      - name: Commit
 | 
			
		||||
        run: |
 | 
			
		||||
          git config --local user.email "i@nn.ci"
 | 
			
		||||
          git config --local user.name "Noah Hsu"
 | 
			
		||||
          git config --local user.email "bot@nn.ci"
 | 
			
		||||
          git config --local user.name "IlaBot"
 | 
			
		||||
          git commit --allow-empty -m "Trigger build for ${{ github.sha }}"
 | 
			
		||||
 | 
			
		||||
      - name: Push commit
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -68,8 +68,8 @@ jobs:
 | 
			
		|||
 | 
			
		||||
      - name: Add tag
 | 
			
		||||
        run: |
 | 
			
		||||
          git config --local user.email "i@nn.ci"
 | 
			
		||||
          git config --local user.name "Andy Hsu"
 | 
			
		||||
          git config --local user.email "bot@nn.ci"
 | 
			
		||||
          git config --local user.name "IlaBot"
 | 
			
		||||
          version=$(wget -qO- -t1 -T2 "https://api.github.com/repos/alist-org/alist/releases/latest" | grep "tag_name" | head -n 1 | awk -F ":" '{print $2}' | sed 's/\"//g;s/,//g;s/ //g')
 | 
			
		||||
          git tag -a $version -m "release $version"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,8 @@ jobs:
 | 
			
		|||
 | 
			
		||||
      - name: Add tag
 | 
			
		||||
        run: |
 | 
			
		||||
          git config --local user.email "i@nn.ci"
 | 
			
		||||
          git config --local user.name "Andy Hsu"
 | 
			
		||||
          git config --local user.email "bot@nn.ci"
 | 
			
		||||
          git config --local user.name "IlaBot"
 | 
			
		||||
          git tag -a ${{ github.ref_name }} -m "release ${{ github.ref_name }}"
 | 
			
		||||
 | 
			
		||||
      - name: Push tags
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue