Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschlick committed Mar 23, 2024
1 parent 1f6b118 commit d1552d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
cd ..
) >> $GITHUB_ENV
- name: Set the VERSION
run: sed -i 's/VERSION=/VERSION=${{ env.VERSION }}/' REPO/etc/pkgs-observer-agent.conf.d/service.conf && cat REPO/etc/pkgs-observer-agent.conf.d/service.conf

- name: Make Directory Structure
run: mkdir -p "SOURCES/${GITHUB_REPO_NAME}" SPECS release

Expand Down Expand Up @@ -136,9 +139,6 @@ jobs:
- name: Create Spec File
run: PATH="REPO/.github/scripts:${PATH}" create_spec_file.sh

- name: Set the VERSION
run: sed -i 's/VERSION=/VERSION=${{ env.VERSION }}/' REPO/etc/pkgs-observer-agent.conf.d/service.conf && cat REPO/etc/pkgs-observer-agent.conf.d/service.conf

- name: Build DEB Package
run: dpkg-deb --build SOURCES/${GITHUB_REPO_NAME} "${{ env.GITHUB_REPO_NAME }}_${{ env.VERSION }}_${{ env.DEB_ARCHITECTURE }}.deb"

Expand Down

0 comments on commit d1552d7

Please sign in to comment.