Skip to content

Commit 4eac2ef

Browse files
committed
bump version to 0.1.7
1 parent ba11cf0 commit 4eac2ef

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,18 @@ jobs:
3737
fetch-depth: 0
3838

3939
- name: Resolve release context
40+
id: context
4041
run: |
4142
if [ "${{ github.event_name }}" = "workflow_run" ]; then
42-
echo "TAG_NAME=${{ github.event.workflow_run.head_branch }}" >> "${GITHUB_ENV}"
43-
echo "TARGET_SHA=${{ github.event.workflow_run.head_sha }}" >> "${GITHUB_ENV}"
43+
echo "tag_name=${{ github.event.workflow_run.head_branch }}" >> "${GITHUB_OUTPUT}"
44+
echo "target_sha=${{ github.event.workflow_run.head_sha }}" >> "${GITHUB_OUTPUT}"
4445
else
4546
if ! git rev-parse "refs/tags/${{ inputs.tag }}" >/dev/null 2>&1; then
4647
echo "::error::GATE_TAG_NOT_FOUND: tag '${{ inputs.tag }}' not found."
4748
exit 17
4849
fi
49-
echo "TAG_NAME=${{ inputs.tag }}" >> "${GITHUB_ENV}"
50-
echo "TARGET_SHA=$(git rev-list -n 1 "refs/tags/${{ inputs.tag }}")" >> "${GITHUB_ENV}"
50+
echo "tag_name=${{ inputs.tag }}" >> "${GITHUB_OUTPUT}"
51+
echo "target_sha=$(git rev-list -n 1 "refs/tags/${{ inputs.tag }}")" >> "${GITHUB_OUTPUT}"
5152
fi
5253
5354
- name: Set up JDK 11
@@ -63,8 +64,8 @@ jobs:
6364
- name: Run release gate checks
6465
env:
6566
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
TAG_NAME: ${{ env.TAG_NAME }}
67-
TARGET_SHA: ${{ env.TARGET_SHA }}
67+
TAG_NAME: ${{ steps.context.outputs.tag_name }}
68+
TARGET_SHA: ${{ steps.context.outputs.target_sha }}
6869
CI_WORKFLOW_FILE: ci.yml
6970
run: |
7071
chmod +x .github/scripts/release_gate.sh
@@ -79,8 +80,8 @@ jobs:
7980
- name: Create GitHub Release and upload assets
8081
uses: softprops/action-gh-release@v2
8182
with:
82-
tag_name: ${{ env.TAG_NAME }}
83-
name: ${{ env.TAG_NAME }}
83+
tag_name: ${{ steps.context.outputs.tag_name }}
84+
name: ${{ steps.context.outputs.tag_name }}
8485
generate_release_notes: true
8586
files: |
8687
target/FlexDBLink.jar

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>io.github.yok</groupId>
66
<artifactId>flexdblink</artifactId>
7-
<version>0.1.6</version>
7+
<version>0.1.7</version>
88
<name>FlexDBLink</name>
99
<description>Manage DB test data as text (CSV/JSON/YAML/XML ↔ DB), with LOB files and JUnit 5 + Spring integration for Oracle/PostgreSQL/MySQL/SQL Server.</description>
1010
<url>https://github.com/y-ok/FlexDBLink</url>

0 commit comments

Comments
 (0)