Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions .github/workflows/dctl_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- main
tags:
- '*.*.*'
permissions:
contents: write
jobs:
tests:
if: github.event_name == 'push' || github.event_name == 'pull_request'
Expand Down Expand Up @@ -97,19 +99,19 @@ jobs:
- name: run build --release
run: cargo build --release --target ${{ matrix.target }}
# Save build
- if: runner.os != 'Windows'
name: Tar files
- name: Tar files
if: runner.os != 'Windows'
run: tar cvf dctl-${{ runner.os }}-${{ matrix.target }}.tar ./target/${{ matrix.target }}/release/dctl
- if: runner.os == 'Windows'
name: Tar files
- name: Tar files (Windows)
if: runner.os == 'Windows'
shell: bash
run: tar cvf dctl-${{ runner.os }}-${{ matrix.target }}.tar ./target/${{ matrix.target }}/release/dctl.exe
- name: save compressed build
uses: actions/upload-artifact@v4
with:
name: dctl-${{ runner.os }}-${{ matrix.target }}.tar
path: cli/dctl-${{ runner.os }}-${{ matrix.target }}.tar
retention-days: 1

release:
name: Create Release
runs-on: ubuntu-latest
Expand All @@ -122,13 +124,12 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: if ${{ github.event_name == 'pull_request' }} then true else false
prerelease: if ${{ startsWith(github.ref, 'refs/tags/rc*') }} then true else false

draft: false
prerelease: ${{ contains(github.ref, 'rc') }}
upload_artifacts:
name: Upload Release Assets
runs-on: ${{ matrix.os }}
Expand All @@ -153,12 +154,13 @@ jobs:
uses: actions/download-artifact@v4
with:
name: dctl-${{ runner.os }}-${{ matrix.target }}.tar
path: cli
- name: Upload Release Assets
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_name: dctl-${{ runner.os }}-${{ matrix.target }}.tar
asset_path: ./dctl-${{ runner.os }}-${{ matrix.target }}.tar
asset_path: cli/dctl-${{ runner.os }}-${{ matrix.target }}.tar
asset_content_type: application/octet-stream
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.5.1 release (2025-06-05)

* Update libraries (deps).
* Update version of docker image used in Collection :
* Grafana 11.6.2
* Loki 3.5.1
* Promtail 3.5.1

## 1.5.0 release (2025-03-10)

* Add support for docker compose:
Expand Down
Loading