Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
expaso committed May 6, 2020
1 parent 1060edd commit ff17aa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
- name: Create local changes and commit files
continue-on-error: true
run: |
ADDON_NAME=$( cut -c22- <<< ${{ github.repository }} )
ADDON_NAME=$( cut -c21- <<< ${{ github.repository }} )
ADDON_VERSION=$( cut -c12- <<< ${{ github.ref }} )
mkdir -p repository/timescaledb
cp -v addon/README.md addon/timescaledb/config.json repository/timescaledb
cd repository
sed -i "s/dev/$ADDON_VERSION/g" timescaledb/config.json
Expand Down

0 comments on commit ff17aa3

Please sign in to comment.