mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 05:38: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
|
||||
run: |
|
||||
echo "GithubRef: ${GITHUB_REF}"
|
||||
IMAGE_VERSION=${GITHUB_REF:1}
|
||||
VERSION::${GITHUB_REF##*/}
|
||||
echo "VERSION: ${VERSION}"
|
||||
IMAGE_VERSION=${VERSION:1}
|
||||
echo "IMAGE_VERSION: ${IMAGE_VERSION}"
|
||||
|
||||
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:
|
||||
tags:
|
||||
- 'v*'
|
||||
- 'draftV*'
|
||||
|
||||
jobs:
|
||||
publishGitRelease:
|
||||
@ -44,18 +45,8 @@ jobs:
|
||||
cp yq.1 build/yq.1
|
||||
./scripts/xcompile.sh
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1.1.4
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: ${{ github.ref }}
|
||||
draft: true
|
||||
prerelease: false
|
||||
|
||||
- uses: shogo82148/actions-upload-release-asset@v1
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: build/*
|
||||
files: build/*
|
||||
fail_on_unmatched_files: true
|
||||
|
@ -1,3 +1,8 @@
|
||||
4.24.3:
|
||||
- Added from_props
|
||||
- Re-releasing, 4.24.2 release failed to publish correctly.
|
||||
|
||||
|
||||
4.24.2:
|
||||
- Fixing release pipeline for go1.18
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user