From f2ae44b27b05d6074c5308921bd78ad9c5b0cb46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20F=C3=B6rster?= Date: Thu, 22 Aug 2019 16:48:39 +0200 Subject: [PATCH] Remove DEB and RPM packages from CI --- .azure-pipelines.yml | 21 --------------------- .build-steps.yml | 17 ----------------- .rpm/texlab.spec | 31 ------------------------------- Cargo.toml | 16 ---------------- 4 files changed, 85 deletions(-) delete mode 100644 .rpm/texlab.spec diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 8349e543d..a120e969b 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -58,27 +58,6 @@ jobs: ver=`echo "$(Build.SourceBranchName)" | cut -c2-` echo "##vso[task.setvariable variable=version]$ver" displayName: "Set version variable" - - task: DownloadSecureFile@1 - name: gpgKey - inputs: - secureFile: "gpg.key" - displayName: "Download GPG key" - - bash: | - gpg --import $(gpgKey.secureFilePath) - displayName: "Import GPG key" - - bash: | - rpm --define "_gpg_name Eric Förster " --addsign texlab-x86_64-rhel.rpm/*.rpm - displayName: "Sign RPM package" - - bash: | - curl -T $(Pipeline.Workspace)/texlab-x86_64-debian.deb/*.deb \ - -uefoerster:$BINTRAY_API_KEY \ - "https://api.bintray.com/content/efoerster/texlab-deb/texlab/$(version)/texlab-x86_64-debian.deb;deb_distribution=stable;deb_component=main;deb_architecture=amd64;publish=1" - curl -T $(Pipeline.Workspace)/texlab-x86_64-rhel.rpm/*.rpm \ - -uefoerster:$BINTRAY_API_KEY \ - "https://api.bintray.com/content/efoerster/texlab-rpm/texlab/$(version)/texlab-x86_64-rhel.rpm;publish=1" - env: - BINTRAY_API_KEY: $(bintrayKey) - displayName: "Upload to Bintray" - task: InstallSSHKey@0 inputs: knownHostsEntry: "$(aurKnownHosts)" diff --git a/.build-steps.yml b/.build-steps.yml index 3d4b7bfe5..cb6f5be6f 100644 --- a/.build-steps.yml +++ b/.build-steps.yml @@ -53,20 +53,3 @@ steps: - publish: $(Build.ArtifactStagingDirectory) artifact: ${{ parameters.archiveFile }} displayName: "Publish release artifact" - - ${{ if eq(parameters.linux, 'true') }}: - - bash: | - cargo install cargo-deb - cargo deb - mv target/debian/texlab* target/debian/texlab-x86_64-debian.deb - displayName: "Build Debian package" - - publish: target/debian - artifact: texlab-x86_64-debian.deb - displayName: "Publish Debian artifact" - - bash: | - cargo install cargo-rpm - cargo rpm build -v - mv target/release/rpmbuild/RPMS/x86_64/texlab* target/release/rpmbuild/RPMS/x86_64/texlab-x86_64-rhel.rpm - displayName: "Build RHEL package" - - publish: target/release/rpmbuild/RPMS/x86_64 - artifact: texlab-x86_64-rhel.rpm - displayName: "Publish RHEL artifact" diff --git a/.rpm/texlab.spec b/.rpm/texlab.spec deleted file mode 100644 index 81e9b3723..000000000 --- a/.rpm/texlab.spec +++ /dev/null @@ -1,31 +0,0 @@ -%define __spec_install_post %{nil} -%define __os_install_post %{_dbpath}/brp-compress -%define debug_package %{nil} - -Name: texlab -Summary: LaTeX Language Server -Version: @@VERSION@@ -Release: 1 -License: MIT -Group: Development/Tools -Source0: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root - -%description -A cross-platform implementation of the Language Server Protocol -providing rich cross-editing support for the LaTeX typesetting system. - -%prep -%setup -q - -%install -rm -rf %{buildroot} -mkdir -p %{buildroot} -cp -a * %{buildroot} - -%clean -rm -rf %{buildroot} - -%files -%defattr(-,root,root,-) -%{_bindir}/* diff --git a/Cargo.toml b/Cargo.toml index ba5823132..7961a6cd8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,19 +59,3 @@ harness = false [profile.release] lto = true - -[package.metadata.deb] -license-file = ["LICENSE", "4"] -extended-description = """\ -A cross-platform implementation of the Language Server Protocol \ -providing rich cross-editing support for the LaTeX typesetting system.""" -depends = "$auto" -section = "tex" -assets = [ - ["target/release/texlab", "usr/bin/", "755"], - ["README.md", "usr/share/doc/texlab/README", "644"], -] - -[package.metadata.rpm] -cargo = { buildflags = ["--release"] } -targets = { texlab = { path = "/usr/bin/texlab" } } \ No newline at end of file