mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-08-04 18:58:31 +00:00
Remove AUR deployment from CI script
This commit is contained in:
parent
afa93e512d
commit
66d6229a93
1 changed files with 0 additions and 19 deletions
|
@ -58,25 +58,6 @@ jobs:
|
|||
ver=`echo "$(Build.SourceBranchName)" | cut -c2-`
|
||||
echo "##vso[task.setvariable variable=version]$ver"
|
||||
displayName: "Set version variable"
|
||||
- task: InstallSSHKey@0
|
||||
inputs:
|
||||
knownHostsEntry: "$(aurKnownHosts)"
|
||||
sshPublicKey: "$(aurPubKey)"
|
||||
sshKeySecureFile: "aur"
|
||||
displayName: "Use AUR SSH key"
|
||||
- bash: |
|
||||
git clone ssh://aur@aur.archlinux.org/texlab.git
|
||||
cd texlab
|
||||
wget https://github.com/latex-lsp/texlab/archive/$(Build.SourceBranchName).tar.gz
|
||||
checksum=`sha512sum $(Build.SourceBranchName).tar.gz | cut -d " " -f 1`
|
||||
sed -i -E -e "s/[0-9]+\.[0-9]+\.[0-9]+/$(version)/" \
|
||||
-e "s/(pkgrel\s*=\s*)[0-9]+/\11/" \
|
||||
-e "s/[0-9a-fA-F]{128}/$checksum/" PKGBUILD .SRCINFO
|
||||
git config --global user.name "Eric Förster"
|
||||
git config --global user.email "eric.foerster@outlook.com"
|
||||
git commit -am "Update to upstream version $(version)"
|
||||
git push
|
||||
displayName: "Update AUR package"
|
||||
- task: GitHubRelease@0
|
||||
inputs:
|
||||
gitHubConnection: latex-lsp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue