mirror of
https://github.com/rclone/rclone.git
synced 2025-03-11 05:25:14 +08:00
Fix BRANCH and apt-get
This commit is contained in:
parent
0554daf3d8
commit
4e46d26a0b
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
SHELL = bash
|
SHELL = bash
|
||||||
BRANCH := $(or $(APPVEYOR_REPO_BRANCH),$(TRAVIS_BRANCH),$(shell git rev-parse --abbrev-ref HEAD))
|
BRANCH := $(or $(APPVEYOR_REPO_BRANCH),$(TRAVIS_BRANCH),$(BUILD_SOURCEBRANCHNAME),$(shell git rev-parse --abbrev-ref HEAD))
|
||||||
LAST_TAG := $(shell git describe --tags --abbrev=0)
|
LAST_TAG := $(shell git describe --tags --abbrev=0)
|
||||||
ifeq ($(BRANCH),$(LAST_TAG))
|
ifeq ($(BRANCH),$(LAST_TAG))
|
||||||
BRANCH := master
|
BRANCH := master
|
||||||
|
@ -74,7 +74,7 @@ steps:
|
|||||||
sudo modprobe fuse
|
sudo modprobe fuse
|
||||||
sudo chmod 666 /dev/fuse
|
sudo chmod 666 /dev/fuse
|
||||||
sudo chown root:$USER /etc/fuse.conf
|
sudo chown root:$USER /etc/fuse.conf
|
||||||
sudo apt install fuse libfuse-dev rpm pkg-config
|
sudo apt-get install fuse libfuse-dev rpm pkg-config
|
||||||
condition: eq( variables['Agent.OS'], 'Linux' )
|
condition: eq( variables['Agent.OS'], 'Linux' )
|
||||||
displayName: Install Libraries on Linux
|
displayName: Install Libraries on Linux
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user