github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/azure-pipelines.yml (about)

     1  trigger:
     2    batch: true
     3    branches:
     4      include:
     5        - master
     6        - dev*
     7        - refs/tags/*
     8  
     9  pool:
    10    vmImage: "ubuntu-latest"
    11  
    12  variables:
    13    - group: GithubToken
    14  
    15  steps:
    16    - checkout: self
    17    - task: GoTool@0
    18      inputs:
    19        version: "1.15.2"
    20    - script: |
    21        go version
    22        go mod download
    23      workingDirectory: $(system.defaultWorkingDirectory)
    24      displayName: "Fetch sources"
    25    - script: |
    26        bazel build --action_env=PATH=$PATH --action_env=GOPATH=$(go env GOPATH) --action_env=GOCACHE=$(go env GOCACHE) --action_env=SPWD=$(pwd) --spawn_strategy local //release:all
    27      workingDirectory: $(system.defaultWorkingDirectory)
    28      displayName: "Build Binaries"
    29    - script: |
    30        echo $RELEASE_TAG
    31        ./release/bleedingrelease.sh
    32      workingDirectory: $(system.defaultWorkingDirectory)
    33      displayName: "Generate Bleeding Edge Release"
    34      env:
    35        WORKDIR: $(system.defaultWorkingDirectory)
    36        GITHUB_TOKEN: $(GITHUB_TOKEN)
    37        PRERELEASE: true
    38        RELEASE_TAG: unstable-$(Build.SourceVersion)
    39        RELEASE_SHA: $(Build.SourceVersion)
    40        TRIGGER_REASON: $(Build.SourceBranch)
    41        GITHUB_REPO_OWNER: v2fly
    42        GITHUB_REPO_NAME: v2ray-core
    43    - script: |
    44        echo $RELEASE_TAG
    45        ./release/tagrelease.sh
    46      workingDirectory: $(system.defaultWorkingDirectory)
    47      displayName: "Generate Tag Release"
    48      env:
    49        WORKDIR: $(system.defaultWorkingDirectory)
    50        GITHUB_TOKEN: $(GITHUB_TOKEN)
    51        PRERELEASE: true
    52        RELEASE_TAG: unstable-$(Build.SourceVersion)
    53        RELEASE_SHA: $(Build.SourceVersion)
    54        TRIGGER_REASON: $(Build.SourceBranch)