Skip to content

Commit e52223c

Browse files
authored
Update lib + docker images version (#52)
1 parent d8b85e9 commit e52223c

File tree

5 files changed

+164
-197
lines changed

5 files changed

+164
-197
lines changed

.github/workflows/dctl_cli.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- main
88
tags:
99
- '*.*.*'
10+
permissions:
11+
contents: write
1012
jobs:
1113
tests:
1214
if: github.event_name == 'push' || github.event_name == 'pull_request'
@@ -97,19 +99,19 @@ jobs:
9799
- name: run build --release
98100
run: cargo build --release --target ${{ matrix.target }}
99101
# Save build
100-
- if: runner.os != 'Windows'
101-
name: Tar files
102+
- name: Tar files
103+
if: runner.os != 'Windows'
102104
run: tar cvf dctl-${{ runner.os }}-${{ matrix.target }}.tar ./target/${{ matrix.target }}/release/dctl
103-
- if: runner.os == 'Windows'
104-
name: Tar files
105+
- name: Tar files (Windows)
106+
if: runner.os == 'Windows'
107+
shell: bash
105108
run: tar cvf dctl-${{ runner.os }}-${{ matrix.target }}.tar ./target/${{ matrix.target }}/release/dctl.exe
106109
- name: save compressed build
107110
uses: actions/upload-artifact@v4
108111
with:
109112
name: dctl-${{ runner.os }}-${{ matrix.target }}.tar
110113
path: cli/dctl-${{ runner.os }}-${{ matrix.target }}.tar
111114
retention-days: 1
112-
113115
release:
114116
name: Create Release
115117
runs-on: ubuntu-latest
@@ -122,13 +124,12 @@ jobs:
122124
id: create_release
123125
uses: actions/create-release@v1
124126
env:
125-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
127+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
126128
with:
127129
tag_name: ${{ github.ref }}
128130
release_name: Release ${{ github.ref }}
129-
draft: if ${{ github.event_name == 'pull_request' }} then true else false
130-
prerelease: if ${{ startsWith(github.ref, 'refs/tags/rc*') }} then true else false
131-
131+
draft: false
132+
prerelease: ${{ contains(github.ref, 'rc') }}
132133
upload_artifacts:
133134
name: Upload Release Assets
134135
runs-on: ${{ matrix.os }}
@@ -153,12 +154,13 @@ jobs:
153154
uses: actions/download-artifact@v4
154155
with:
155156
name: dctl-${{ runner.os }}-${{ matrix.target }}.tar
157+
path: cli
156158
- name: Upload Release Assets
157159
uses: actions/upload-release-asset@v1
158160
env:
159161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
160162
with:
161163
upload_url: ${{ needs.release.outputs.upload_url }}
162164
asset_name: dctl-${{ runner.os }}-${{ matrix.target }}.tar
163-
asset_path: ./dctl-${{ runner.os }}-${{ matrix.target }}.tar
165+
asset_path: cli/dctl-${{ runner.os }}-${{ matrix.target }}.tar
164166
asset_content_type: application/octet-stream

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.5.1 release (2025-06-05)
4+
5+
* Update libraries (deps).
6+
* Update version of docker image used in Collection :
7+
* Grafana 11.6.2
8+
* Loki 3.5.1
9+
* Promtail 3.5.1
10+
311
## 1.5.0 release (2025-03-10)
412

513
* Add support for docker compose:

0 commit comments

Comments
 (0)