Skip to content

Commit

Permalink
Updated CI and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
NehaNaithani committed Jan 30, 2024
1 parent f3e74fc commit cd52715
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

allprojects {
group = 'org.eclipse'
version = '3.0.0-dev'
version = '3.1.0'
}

subprojects {
Expand Down

0 comments on commit cd52715

Please sign in to comment.