Skip to content

Commit abf09d5

Browse files
authored
Release task (#113)
* Release job * Remove bintray
1 parent d2ea174 commit abf09d5

File tree

5 files changed

+39
-89
lines changed

5 files changed

+39
-89
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
name: Publish release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2.3.4
15+
with:
16+
fetch-depth: 0
17+
- name: Install JDK ${{ matrix.java_version }}
18+
uses: actions/setup-java@v1
19+
with:
20+
java-version: 1.8
21+
- name: Get the version
22+
id: tagger
23+
uses: jimschubert/query-tag-action@v2
24+
with:
25+
skip-unshallow: 'true'
26+
abbrev: false
27+
commit-ish: HEAD
28+
- name: Install Android SDK
29+
uses: malinskiy/action-android/install-sdk@release/0.1.1
30+
- name: Build project
31+
run: ./gradlew clean build
32+
env:
33+
VERSION: ${{ github.ref }}
34+
- run: |
35+
assetsAAR=$(find . -name *release.aar | while read -r asset ; do echo "-a $asset" ; done)
36+
hub release create ${assetsAAR} -m ${{steps.tagger.outputs.tag}} ${{steps.tagger.outputs.tag}}
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
VERSION: ${{ github.ref }}

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# ipcam-view ![ipcam-view](images/logo.png)
22

33
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ipcam--view-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/3358)
4-
[![Download](https://api.bintray.com/packages/niqdev/maven/mjpeg-view/images/download.svg)](https://bintray.com/niqdev/maven/mjpeg-view/_latestVersion)
54

65
Android MJPEG video streaming made simple!
76

bintray.gradle

Lines changed: 0 additions & 85 deletions
This file was deleted.

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ buildscript {
66
dependencies {
77
classpath 'com.android.tools.build:gradle:4.1.3'
88
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
9-
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
109
}
1110
}
1211

mjpeg-view/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ dependencies {
4343
api 'io.reactivex:rxandroid:1.2.1'
4444
}
4545

46-
apply from: '../bintray.gradle'
47-
4846
task hello(dependsOn: build) {
4947
println ''
5048
println ' _ _ _ _ _ _ _ '

0 commit comments

Comments
 (0)