From cd527155f5cdef7042b4dc33f5844c9f5eb08de1 Mon Sep 17 00:00:00 2001 From: Neha Naithani Date: Tue, 30 Jan 2024 21:45:12 +1300 Subject: [PATCH] Updated CI and changelog --- .github/workflows/ci.yaml | 28 ++++++++++++++++++++++++++++ CHANGELOG.md | 4 ++++ build.gradle | 2 +- 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2404ec93..66ffb858 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -233,6 +233,34 @@ jobs: PACKAGECLOUD-DISTRIB: rpm_any/rpm_any PACKAGECLOUD-TOKEN: ${{ secrets.packagecloud_token }} + - uses: actions/download-artifact@v2 + with: + name: deb-package + + - name: Publish tagged deb package to packagecloud + if: contains(github.ref_name, '^v.*') + uses: danielmundi/upload-packagecloud@v1 + with: + PACKAGE-NAME: iofog-agent_${{ steps.pkg_version.outputs.version }}_all.deb + PACKAGECLOUD-USERNAME: iofog + PACKAGECLOUD-REPO: iofog-agent + PACKAGECLOUD-DISTRIB: any/any + PACKAGECLOUD-TOKEN: ${{ secrets.packagecloud_token }} + + - uses: actions/download-artifact@v2 + with: + name: rpm-package + + - name: Publish tagged rpm package to packagecloud + if: contains(github.ref_name, '^v.*') + uses: danielmundi/upload-packagecloud@v1 + with: + PACKAGE-NAME: packaging/iofog-agent/iofog-agent-${{ steps.sub.outputs.result }}-1.noarch.rpm + PACKAGECLOUD-USERNAME: iofog + PACKAGECLOUD-REPO: iofog-agent + PACKAGECLOUD-DISTRIB: rpm_any/rpm_any + PACKAGECLOUD-TOKEN: ${{ secrets.packagecloud_token }} + - name: Upload Agent Artifact uses: actions/upload-artifact@v3 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b104fcf..5a3eddde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog ## [unreleased] +## [v3.1.0] - 30 -June 2024 +* Migrated junit4 to junit5 +* Support for java17 +* Upgraded gradle to v8.4 ## [v3.0.1] - 16- May 2022 * Declared Agent dependency i.e. java and docker. diff --git a/build.gradle b/build.gradle index eeb7b0af..3e5d6d0e 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { allprojects { group = 'org.eclipse' - version = '3.0.0-dev' + version = '3.1.0' } subprojects {