Skip to content

Commit fc42d40

Browse files
authored
Fix version (#474)
Co-authored-by: Jonas Plum <git@jonasplum.de>
1 parent e987e46 commit fc42d40

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,17 +125,17 @@ jobs:
125125
with: { go-version: '1.19', cache: true }
126126
- uses: actions/download-artifact@v3
127127
with: { name: ui, path: ui/dist }
128+
- name: Version
129+
if: github.ref_type == 'tag' && github.ref_name != ''
130+
run: |
131+
echo ${{ github.ref_name }}
132+
echo ${{ github.ref_name }} > VERSION
128133
- run: go build -o catalyst ./cmd/catalyst/.
129134
- uses: docker/login-action@v2
130135
with:
131136
registry: ${{ env.REGISTRY }}
132137
username: ${{ github.actor }}
133138
password: ${{ secrets.GITHUB_TOKEN }}
134-
- name: Version
135-
if: github.ref_type == 'tag' && github.ref_name != ''
136-
run: |
137-
echo ${{ github.ref_name }}
138-
echo ${{ github.ref_name }} > VERSION
139139
- name: Extract metadata (tags, labels) for Docker
140140
id: meta
141141
uses: docker/metadata-action@v4

0 commit comments

Comments
 (0)