mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Trying new release process
This commit is contained in:
parent
217744bc9a
commit
454e563a0e
4
.github/workflows/docker-release.yml
vendored
4
.github/workflows/docker-release.yml
vendored
@ -33,7 +33,9 @@ jobs:
|
|||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
run: |
|
run: |
|
||||||
echo "GithubRef: ${GITHUB_REF}"
|
echo "GithubRef: ${GITHUB_REF}"
|
||||||
IMAGE_VERSION=${GITHUB_REF:1}
|
VERSION::${GITHUB_REF##*/}
|
||||||
|
echo "VERSION: ${VERSION}"
|
||||||
|
IMAGE_VERSION=${VERSION:1}
|
||||||
echo "IMAGE_VERSION: ${IMAGE_VERSION}"
|
echo "IMAGE_VERSION: ${IMAGE_VERSION}"
|
||||||
|
|
||||||
PLATFORMS="linux/amd64,linux/ppc64le,linux/arm64"
|
PLATFORMS="linux/amd64,linux/ppc64le,linux/arm64"
|
||||||
|
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@ -3,6 +3,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
- 'draftV*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publishGitRelease:
|
publishGitRelease:
|
||||||
@ -44,18 +45,8 @@ jobs:
|
|||||||
cp yq.1 build/yq.1
|
cp yq.1 build/yq.1
|
||||||
./scripts/xcompile.sh
|
./scripts/xcompile.sh
|
||||||
|
|
||||||
- name: Create Release
|
- name: Release
|
||||||
id: create_release
|
uses: softprops/action-gh-release@v1
|
||||||
uses: actions/create-release@v1.1.4
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
files: build/*
|
||||||
release_name: ${{ github.ref }}
|
fail_on_unmatched_files: true
|
||||||
draft: true
|
|
||||||
prerelease: false
|
|
||||||
|
|
||||||
- uses: shogo82148/actions-upload-release-asset@v1
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: build/*
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
4.24.3:
|
||||||
|
- Added from_props
|
||||||
|
- Re-releasing, 4.24.2 release failed to publish correctly.
|
||||||
|
|
||||||
|
|
||||||
4.24.2:
|
4.24.2:
|
||||||
- Fixing release pipeline for go1.18
|
- Fixing release pipeline for go1.18
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user