diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-01-16 21:49:15 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-01-16 21:49:15 -0500 |
commit | c3fbf08203dd70e782b94d9fee989b1998ce9d73 (patch) | |
tree | 55302e7f2fffd6468157ca0735505b0de2265a57 /.github/workflows/build.yml | |
parent | f0f0c9c14aa9f46b09cb992a3d30f57f3257dddf (diff) | |
download | lite-xl-plugin-manager-c3fbf08203dd70e782b94d9fee989b1998ce9d73.tar.gz lite-xl-plugin-manager-c3fbf08203dd70e782b94d9fee989b1998ce9d73.zip |
Only look for version tags.
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11306a1..fcda1ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: - name: Set Environment Variables run: | git config --global user.name "Github Actions" && git config --global user.email "adamdharrison@gmail.com" - echo VERSION=`git describe --tags --abbrev=0 | tail -c +2` >> $GITHUB_ENV && echo FULL_VERSION=`git describe --tags | tail -c +2` >> $GITHUB_ENV && echo REV=$((`git describe --tags | sed 's/.*-\([0-9]*\)-.*/\1/' | sed s/^v.*//` + 1)) >> $GITHUB_ENV + echo VERSION=`git describe --tags --abbrev=0 --match "v*" | tail -c +2` >> $GITHUB_ENV && echo FULL_VERSION=`git describe --tags --match "v*" | tail -c +2` >> $GITHUB_ENV && echo REV=$((`git describe --tags --match "v*" | sed 's/.*-\([0-9]*\)-.*/\1/' | sed s/^v.*//` + 1)) >> $GITHUB_ENV - name: Clone Submodules run: git submodule update --init --depth=1 - name: Build Linux @@ -54,7 +54,7 @@ jobs: uses: actions/checkout@v3 with: { fetch-depth: 0 } - name: Set Environment Variables - run: echo VERSION=`git describe --tags --abbrev=0 | tail -c +2` >> $GITHUB_ENV && echo FULL_VERSION=`git describe --tags | tail -c +2` >> $GITHUB_ENV && echo REV=$((`git describe --tags | sed 's/.*-\([0-9]*\)-.*/\1/' | sed s/^v.*//` + 1)) >> $GITHUB_ENV + run: echo VERSION=`git describe --tags --abbrev=0 --match "v*" | tail -c +2` >> $GITHUB_ENV && echo FULL_VERSION=`git describe --tags --match "v*" | tail -c +2` >> $GITHUB_ENV && echo REV=$((`git describe --tags --match "v*" | sed 's/.*-\([0-9]*\)-.*/\1/' | sed s/^v.*//` + 1)) >> $GITHUB_ENV - name: Clone Submodules run: git submodule update --init --depth=1 - name: Build MacOS |